in reply to Re^2: Testing <> for undefined
in thread Testing <> for undefined
(as a bonus, you don't have the redundant mention of $ARGV[0]).my $file = $ARGV[0] or die "Usage: prog.pl file_pathname\n";
@ARGV or die "Usage: prog.pl file_pathname\n"; my $file = $ARGV[0];
|
|---|