Subject: | [PATCH] File::HomeDir SYNOPSIS |
The code in the synopsis has what looks like a cut and paste error.
Subject: | homedir.patch |
diff -ur File-HomeDir-0.54-orig/lib/File/HomeDir.pm File-HomeDir-0.54/lib/File/HomeDir.pm
--- File-HomeDir-0.54-orig/lib/File/HomeDir.pm 2006-02-27 12:12:50.000000000 +0000
+++ File-HomeDir-0.54/lib/File/HomeDir.pm 2006-02-28 10:29:10.000000000 +0000
@@ -168,8 +168,8 @@
# Modern Interface (Other Users)
$home = File::HomeDir->users_home('foo');
- $docs = File::HomeDir->users_home('foo');
- $data = File::HomeDir->users_home('foo');
+ $docs = File::HomeDir->users_documents('foo');
+ $data = File::HomeDir->users_data('foo');
# Legacy Interfaces
print "My dir is ", home(), " and root's is ", home('root'), "\n";