As a New Years Gift (curse) and 6 months in the works, I'm glad to present File::HomeDir 0.61, one of the most significant releases ever.
For the first time the module provides a comprehensive set of methods for all the essentials of modern desktop computer usage, such as my_desktop and my_music.
All implementations are done straight on top of operating system standards, with no guesswork or arbitrary implementations by myself. If something isn't found, methods return undef.
Currently Unix has everything defaulting to just the home directory, while Win32 and Mac get the full goodness.
With great (and in some cases badly needed) improvements come a few minor issues.
You now have to deal with the fact that NOT everything always has a resource, whether it's my_video or even my_home (which can't ALWAYS be guarenteed).
I hope I can get everyone with various odd platforms to make sure it at least installs.
Once the 0.6 series is settles down, I'd very much like to see pathes or contributions to integrate with the Copland opendesktop standard for Gnone and KDE, and any other documented Unix standards.
File::HomeDir & Strawberry Perl - no go (Score:1)
Start: Tue Jan 2 11:00:03 2007.
Installing File::HomeDir V 0.61
Command: gzip -d File-HomeDir-0.61.tgz
Output:
Errors:
--------------------------------------------------
Command: tar xvmf File-HomeDir-0.61.tar
Output:
File-HomeDir-0.61/
File-HomeDir-0.61/inc/
File-HomeDir-0.61/inc/Mo
File-HomeDir-0.61/inc/Module/Install.pm
File-HomeDir-0.61/inc/Module/Ins
File-HomeDir-0.61/inc/Module/Install/Fetch.pm
File-HomeDir-0.61/inc/Modu
File-HomeDir-0.61/inc/Module/Install/Base.pm
File-HomeD
Re:File::HomeDir & Strawberry Perl - no go (Score:1)
Which particular operating system, version, service pack, etc do you have?
Adam K
Re:File::HomeDir & Strawberry Perl - no go (Score:1)
Works for you? Perhaps because your 'My Video' dir exists?
Re:File::HomeDir & Strawberry Perl - no go (Score:1)
So far while Win2k doesn't expect a couple of newer things, I'm assuming all XP will have a My Videos, because my laptop WinXP Pro has it.
This might be a bad assumption...
I'll change the tests to not assume a videos directory on XP.
Out of curiosity, can I get more info on your box?
Is is WinXP home/pro/server/etc?
What (in the debugger) is the full result you get from
use Win32;
x Win32::GetOSVersion();
Re:File::HomeDir & Strawberry Perl - no go (Score:1)
I'm at home on holiday, running Win2K, and the laptop with WinXP is locked in a cupboard at work.
One day I'll go and collect it...