in reply to HoH and accumulation
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.
|
|---|