Skip Menu |

This queue is for tickets about the File-HomeDir CPAN distribution.

Report information
The Basics
Id: 17899
Status: resolved
Priority: 0/
Queue: File-HomeDir

People
Owner: Nobody in particular
Requestors: pmh [...] edison.ioppublishing.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.54
Fixed in: (no value)



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";
Fixed, will appear in 0.55. Thanks for the bug report.