There's more than one way to do things | |
PerlMonks |
Re: Re: Display Troublesby blakem (Monsignor) |
on Oct 09, 2001 at 01:44 UTC ( [id://117568]=note: print w/replies, xml ) | Need Help?? |
Sometimes the cwd isn't really what you want, though. If you want to know the directory in which the script resides (rather than the directory one was in when it was executed),
a better solution is FindBin.
-Blake
In Section
Seekers of Perl Wisdom
|
|