Help for this page

Select Code to Download


  1. or download this
    $numHeaders= $ARGV[0];
    $numFooters= $ARGV[1];
    ...
    for my $line (@file) {
       # process your data
    }
    
  2. or download this
    # Discard the headers and footers
    splice @file, 0, $numHeaders;
    splice @file, $#file-$numFooters, $numFooters;