in reply to
How to get the shell script name
You could
getppid
and then search the process list, but it would be a lot easier if you passed it to the script, or
export
ed it in the shell script so that the perl script could find it in
%ENV
.
Caution:
Contents may have been coded under pressure.
Comment on
Re: How to get the shell script name
Select
or
Download
Code
In Section
Seekers of Perl Wisdom