sub extractPartTuplesFromURL { my $cgi = shift; return values %{{ map { my %h; @h{qw/id version classification/} = split(','); $h{id} => \%h } $cgi->param('partID') }}; }
In reply to Re: Most elegant way to dispose of duplicates using map
by davidrw
in thread Most elegant way to dispose of duplicates using map
by rashley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |