RE: How to get name of script

2004-11-03 Thread Christopher Maujean
On Wed, 2004-11-03 at 16:06, Jim wrote: > > How do I get the name of the current PERL script I am > > running? The answer to this question may be very obvious but > > I can't seem to locate it in my books or other resources. > > > > Thanks in advance, > > > > # strip the path info to the scr

RE: How to get name of script

2004-11-03 Thread Jim
> How do I get the name of the current PERL script I am > running? The answer to this question may be very obvious but > I can't seem to locate it in my books or other resources. > > Thanks in advance, > # strip the path info to the script: (my $prog = $0) =~ s/^.*[\\\/]//; --- Outgoing ma

RE: How to get name of script

2004-11-03 Thread Rajesh Dorairajan
$0 -Original Message- From: Zielfelder, Robert [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 12:18 PM To: Perl Beginners List (E-mail) Subject: How to get name of script How do I get the name of the current PERL script I am running? The answer to this question may be

Re: How to get name of script

2004-11-03 Thread Gunnar Hjalmarsson
Robert Zielfelder wrote: How do I get the name of the current PERL script I am running? The answer to this question may be very obvious but I can't seem to locate it in my books or other resources. The natural place to look for the answer to such a question is "perldoc perlvar". -- Gunnar Hjalmars

RE: How to get name of script

2004-11-03 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Zielfelder, Robert wrote: > How do I get the name of the current PERL script I am running? The > answer to this question may be very obvious but I can't seem to > locate it in my books or other resources. > > Thanks in advance, > > Rob Zielfelder $0 holds the info. Wags ;) **

How to get name of script

2004-11-03 Thread Zielfelder, Robert
How do I get the name of the current PERL script I am running? The answer to this question may be very obvious but I can't seem to locate it in my books or other resources. Thanks in advance, Rob Zielfelder -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL