in reply to Testing <> for undefined
Assuming the scriptname is called file_parse.pl, and you're trying to pass it single file only:
Trekif ($#ARGV != 0) { print "Usage: file_parse.pl [filename] \n"; exit(1); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re^2: Testing <> for undefined
by merlyn (Sage) on Jul 07, 2004 at 16:52 UTC | |
by TrekNoid (Pilgrim) on Jul 07, 2004 at 17:21 UTC |