Help for this page
if(!exists $result{$uniqueKey}) # If this combinaison is unknown { ... { push @{ $result{$uniqueKey} }, \%currentRow; # add the current ro +w to the existing ones }
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"] }