|
|
| more useful options | |
| PerlMonks |
Re: Getting current directoryby oakley (Scribe) |
| on Feb 09, 2001 at 17:51 UTC ( [id://57440]=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.
To get the current working directory, you could use:
$currdir = $ENV{PWD}; or $currdir = $0; <-- (gives full execution path AND program name though) - oakley Embracing insanity - one twitch at a time >:)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||