Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
        undef %hash;
    }
    
  2. or download this
     push @{ $hash{ $header[$_] } }, $columns[$_] for 1 .. $#columns;
          ^            ^                 ^            ^    ^
    ...
          |            |                 + - Column value
          |            + - Column heading
          + - Generate a HoA, where: keys are column names; values are ref
    +erences to lists of column entries