my %common; $common{$_}++ for keys(%hash1), keys(%hash2); my @common = grep { $common{$_} > 1 } keys %common;
------
We are the carpenters and bricklayers of the Information Age.
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
In reply to Re: HoH and accumulation
by dragonchild
in thread HoH and accumulation
by djbiv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |