http://qs1969.pair.com?node_id=45711


in reply to Re: Getting path info in a mixed UNIX / NT environment
in thread Getting path info in a mixed UNIX / NT environment

myocom is correct about the relative paths, but I'd go just a bit further and remind you that perl understands the root of the drive that it is being executed from. In other words, if you're installed in D:\Perl\bin\perl.exe, then / = D:\

This is true for all Windows as far as I know...

#!/home/bbq/bin/perl
# Trust no1!