Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    print first { $last = $a{$_} <=> $b{$_} } @fields;
    print $last;
    
  2. or download this
    (
      ["RUN", "DISTRICT", "COPY", "TOTAL"],
    ...
    TOTAL,-1
    TOTAL
    -1