my @new_array = do { my %bobs_your_uncle; grep !$bobs_your_uncle{$_->{bob}}++, @array; };
-- Randal L. Schwartz, Perl hacker
In reply to Re: Removing duplicate hashes based on only one key
by merlyn
in thread Removing duplicate hashes based on only one key
by Amoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |