If I understand you're question correctly, you can get the basename of the
script that you are running ( i.e., minus the extension ) with the code:

my ($basename) = fileparse($0, '\..*');

> Anthony (Tony) Esposito
> Senior Technical Consultant 
> Inovis(tm)
> 2425 N. Central Expressway, Suite 900 
> Richardson, TX  75080 
> (972) 643-3115 
> [EMAIL PROTECTED] 
> 


-----Original Message-----
From: Nigel Peck - MIS Web Design [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 4:13 PM
To: Kristofer Hoch; [EMAIL PROTECTED]
Subject: Script's Name


Can someone please remind a forgetful idiot how to get the name of the
script being run (the file itself)?

Cheers,
Nigel

MIS Web Design
http://www.miswebdesign.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to