go ahead... be a heretic | |
PerlMonks |
Re: Find the full path of the script at run timeby PriNet (Monk) |
on Mar 13, 2003 at 05:03 UTC ( [id://242585]=note: print w/replies, xml ) | Need Help?? |
i use the following to determin my "real" path ibanix...
my($Root) = substr($ENV{'PATH_TRANSLATED'},0,length($ENV{'PATH_TRANSLATED'})-length($ENV{'PATH_INFO'})); you mean there's any easier way?
In Section
Seekers of Perl Wisdom
|
|