Cheers - L~Rfor ( @data ) { my $key = substr($_, 0, 7); push @order, $key if ! defined $unique{$key}; $unique{$key} = $_; } print "$_ : $unique{$key}\n" for @data{@order};
In reply to Re: removal of dupes using a hash
by Limbic~Region
in thread removal of dupes using a hash
by shaezi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |