my ($col1, $col2, $col3) = generate_data(); $hash{$col1}[0] += $col2; $hash{$col1}[1] += $col3; [download]
In reply to Re^2: Grouping By A Column by JavaFan in thread Grouping By A Column by rocky13