Your question is ambiguous. Do you want "Where I am now", or "Where the script located"? If you want the first option, then davido's solution above will do, whereas if you want the second option, I'd probably use File::Basename's dirname function on $0, something like:
my $dir = dirname($0);
In reply to Re: How to obtain current working directory
by davis
in thread How to obtain current working directory
by Nelly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |