Help for this page

Select Code to Download


  1. or download this
    if(!exists $result{$uniqueKey}) # If this combinaison is unknown
       {
    ...
       {
         push @{ $result{$uniqueKey} }, \%currentRow; # add the current ro
    +w to the existing ones
       }
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "use Data::Dump;
    ...
    ["foo", "A", "bar", "W", "bar", "X", "foo", "B", "bar", "Y"]
    
    { bar => ["W", "X", "Y"], foo => ["A", "B"] }