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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Find the full path of the script at run time
by dakkar (Hermit) on Mar 13, 2003 at 13:36 UTC |
In Section
Seekers of Perl Wisdom