in reply to Re^3: Darwin and File::HomeDir
in thread Darwin and File::HomeDir
How is requiring users posses some common knowledge, trying to impose a limit on users?
This is the synopsis for http://search.cpan.org/~adamk/File-HomeDir-0.97/lib/File/HomeDir/Darwin/Carbon.pm
So what are you talking about?use File::HomeDir; # Find directories for the current user $home = File::HomeDir->my_home; # /Users/mylogin $desktop = File::HomeDir->my_desktop; # /Users/mylogin/Desktop $docs = File::HomeDir->my_documents; # /Users/mylogin/Documents $music = File::HomeDir->my_music; # /Users/mylogin/Music $pics = File::HomeDir->my_pictures; # /Users/mylogin/Pictures $videos = File::HomeDir->my_videos; # /Users/mylogin/Movies $data = File::HomeDir->my_data; # /Users/mylogin/Library/App +lication Support
Trying to convince OS vendors to change their practices to address bugs in modules sounds backwards to me.
What? Who suggested trying to convince OS vendors anything?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Darwin and File::HomeDir
by ikegami (Patriarch) on May 21, 2011 at 00:57 UTC | |
by Anonymous Monk on May 21, 2011 at 02:35 UTC | |
by ikegami (Patriarch) on May 21, 2011 at 16:48 UTC | |
by Anonymous Monk on May 21, 2011 at 23:09 UTC | |
by ikegami (Patriarch) on May 22, 2011 at 04:37 UTC | |
|