Help for this page

Select Code to Download


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