my %h; push @{$h{$_->[1]||0}}, $_->[0] for @a; [download]
In reply to Re^3: Transform Array Ref to Hash Ref - Where's my error? by ayrnieu in thread Transform Array Ref to Hash Ref - Where's my error? by awohld