Problems? Is your data what you think it is? | |
PerlMonks |
Re: Getting path info in a mixed UNIX / NT environmentby myocom (Deacon) |
on Dec 08, 2000 at 03:52 UTC ( [id://45648]=note: print w/replies, xml ) | Need Help?? |
Your code as written won't work, for at least two reasons. One, unless you've defined one, there is no SOME_DRIVE environment variable. Two, you'll want to put double-quotes around that last bit:
Depending on what your scripts do, though, you may not need to worry about what your current path is. And if you use relative paths, you shouldn't need to worry about drive letters whatsoever on Win2K.
In Section
Seekers of Perl Wisdom
|
|