Page 1 of 1

The Perl Equivalent Of $_SERVER['PHP_SELF']

Posted: Mon Jul 31, 2006 10:03 am
by Grim...
I need to find the file name of the perl script that is currently being run.

Anyone?

Posted: Mon Jul 31, 2006 11:21 am
by Grim...

Code: Select all

$script_filename = $ENV{'_'};
It's a smiley face! Silly me, eh?