|Keep It Simple, Stupid|
How to write a perl script to work on many OS(s)by jesuashok (Curate)
|on Jul 06, 2007 at 03:37 UTC||Need Help??|
jesuashok has asked for the
wisdom of the Perl Monks concerning the following question:
I have a perl scrit which accepts directory path and filenames through different argument names. For example :-
In my script I would open the files as follows :-
But, if I run the same script in windows OS, I have to specify "\\" for delimiting the path. ( unix it is "/" ).
Is there any common character available to delimit the path regardless of what OS I am using this script ?
Apologies If I anyone got irked because of this question.
i m possible