Sure. Try $0. :)
-Original Message-
From: Charles Lu [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 2:31 AM
To: [EMAIL PROTECTED]
Subject: Special Variable for name of the running script
When you run a perl script from command line, you can often retrieve the
arguments through
You can open a file via open() for reading or writing, but not both. Try
open (FILE, $file);
print FILE;
close(FILE);
And see if that doesnt help.
-Original Message-
From: Sara Campbell Meeks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 12:39 PM
To: '[EMAIL PROTECTED]'
Subje
nd attempt at decent code
Probably not the best way. I'm still a newbie hack somedays myself. But this
should work :)
-=-
G. Andrew Nelson
Release Engineer
Storigen Systems, Inc.
650 Suffolk Street
Lowell MA 01854
+1 978 323 4454 x271
-Original Message-
From: Evan McNabb [mailto:[
do something completely different with it. As I said, it's
dependent entirely on context.
Your mileage may vary.
hope that helps,
Andrew Nelson
-Original Message-
From: Bradshaw, Brian [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: t