in reply to Find the full path of the script at run time
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?
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