|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Re: Getting current directoryby chromatic (Archbishop) |
| on Feb 09, 2001 at 18:24 UTC ( [id://57448]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Whoa, careful with that advice:
Yeah, I wouldn't normally use the backticks there, but it proves my point. Also, $0 is spoofable. Cwd is a more reliable solution. Update: You can spoof $0 by using symlinks, at least if your OS supports them.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||