my %uniq = map { $_->{page} => 1 } @AoH; @AoH = map { { page => $_ } } keys %uniq;
This one would destroy all data that is not a value of the "page" key. But it solves the particular problem.
In reply to Re: Is there better way to delete dups in an AoH?
by Happy-the-monk
in thread Is there better way to delete dups in an AoH?
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |