Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: moving from mac to PCby afoken (Chancellor) |
on Oct 28, 2016 at 06:27 UTC ( [id://1174873]=note: print w/replies, xml ) | Need Help?? |
... use slashes, not backslashes. WIN understand both ... The only real problem is the command interpreter. But if you use the command interpreter, your code is already far from being portable. How external programs handle command line arguments depends on the individual program. Most programs with a DOS legacy treat the forward slash as switch introducing character, as do many programs written for Windows. But programs from other platforms have no problems with forward slashes in file names on the command line. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|