Problems? Is your data what you think it is? | |
PerlMonks |
(bbq) Re: Re: Getting path info in a mixed UNIX / NT environmentby BBQ (Curate) |
on Dec 08, 2000 at 12:57 UTC ( [id://45711]=note: print w/replies, xml ) | Need Help?? |
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!
In Section
Seekers of Perl Wisdom
|
|