laziness, impatience, and hubris | |
PerlMonks |
Re^4: Can Perl do anything Java can do?by kennethk (Abbot) |
on Jul 19, 2017 at 14:05 UTC ( [id://1195470]=note: print w/replies, xml ) | Need Help?? |
You should be aware that if you specify a path with forward slashes to a Windows instance of perl, the interpreter will usually auto-convert the forward slashes to backslashes for file access. This is a particularly helpful feature when wrapping a Windows path in interpolating delimiters, e.g. double quotes. Obviously, File::Spec et al. represent the most transferable approach.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In Section
Seekers of Perl Wisdom
|
|