S
sm
Hi Folks,
I need to know the full path to the running script ( $0 provides the name of
the file)
is there a way to get the full path.
for example:
I run the script "/root/eng/perlscripts/xyz.pl"
$0 = xyz.pl
I need a way to know "/root/eng/perlscripts/xyz.pl"
Thanks
-sm
I need to know the full path to the running script ( $0 provides the name of
the file)
is there a way to get the full path.
for example:
I run the script "/root/eng/perlscripts/xyz.pl"
$0 = xyz.pl
I need a way to know "/root/eng/perlscripts/xyz.pl"
Thanks
-sm