in reply to Testing <> for undefined
's -DBC# Test if the is an argument if(!@ARGV) { die "My help message\n"; } # Test if the argument is a file if(! -e $ARGV[0]) { print "File $ARGV0 does not exist\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing <> for undefined
by BbTrumpet (Acolyte) on Jul 08, 2004 at 16:41 UTC | |
by Roy Johnson (Monsignor) on Jul 08, 2004 at 16:57 UTC |