Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Death to $HOME, long live File::HomeDir

by sundialsvc4 (Monsignor)
on Nov 17, 2011 at 16:43 UTC ( #938646=note: print w/ replies, xml ) Need Help??


in reply to Death to $HOME, long live File::HomeDir

I certainly learned that lesson when I had to move a program from Unix to Windows ... and to maintain it, for a time, in both environments simultaneously.   I don’t know who wrote the original code, and that is probably a good thing, because I think that I would have a word with him or her...

Within CPAN, there are idioms that allow you to do various operating-system specific things in a non-OS specific way, just by virtue of using a CPAN module that will install itself appropriately in different environments.   Now, your code is portable.   And, if you peer inside the guts of some of these modules, you find that the solutions that they implement are often much more rugged and thorough than what you would have come up with on your own steam.


Comment on Re: Death to $HOME, long live File::HomeDir

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938646]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-07-28 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (195 votes), past polls