The Perl Equivalent Of $_SERVER['PHP_SELF']

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

The Perl Equivalent Of $_SERVER['PHP_SELF']

Post by Grim... »

I need to find the file name of the perl script that is currently being run.

Anyone?
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

Code: Select all

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