Do you know where your variables are? | |
PerlMonks |
Re: How do I find what dir the perl script is running from?by merlyn (Sage) |
on Dec 16, 2000 at 13:53 UTC ( [id://47038]=note: print w/replies, xml ) | Need Help?? |
No. There are partial answers based on examining $0 and $ENV{PATH}, with algorithms rolled up into File::FindBin, but nothing will ever be completely unspoofable or accurate.
In Section
Seekers of Perl Wisdom
|
|