- or download this
open my $fh, shift or die "Cannot open file: $!\n";
- or download this
# do all the assignments from ARGV here
my $filename = shift @ARGV or die "A filename parameter is required";
...
...
}
close FILE;
- or download this
use Data::Dumper;
die Dumper \@ARGV; # see what's really in there ...