more useful options | |
PerlMonks |
Re: How to have universal perl script for C and D drive ?by moritz (Cardinal) |
on Feb 08, 2008 at 16:54 UTC ( [id://667015]=note: print w/replies, xml ) | Need Help?? |
You can do the following to get the current working directory:
Then you can use paths relative to $cwd, or rewrite the paths depending on whether you're on C:\ or on D:\.
In Section
Seekers of Perl Wisdom
|
|