Here's a grep solution:
my %seen; @$ref = grep { ! $seen{$_->{id}}++ } @$ref;
My test is in the spoiler.
-- Ken
In reply to Re: removing duplicates from an array of hashes
by kcott
in thread removing duplicates from an array of hashes
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |