in reply to Is there better way to delete dups in an AoH?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there better way to delete dups in an AoH?
by bradcathey (Prior) on Jun 06, 2004 at 20:55 UTC | |
by Happy-the-monk (Canon) on Jun 06, 2004 at 21:20 UTC | |
by bradcathey (Prior) on Jun 06, 2004 at 23:14 UTC | |
by Roy Johnson (Monsignor) on Jun 06, 2004 at 23:30 UTC | |
by bradcathey (Prior) on Jun 06, 2004 at 23:53 UTC | |
by bradcathey (Prior) on Jun 08, 2004 at 02:37 UTC | |
| |
by qq (Hermit) on Jun 07, 2004 at 00:01 UTC | |
by hv (Prior) on Jun 07, 2004 at 01:31 UTC | |
|