in reply to Looking up a hash by value
my %lookup;
$lookup{$_}++ for values %whop;
Then your test can become something like
print for map{exists $lookup{$_} ? "$_*\n" : "$_\n"} @newest_members;
Warning: untested code but it should give you the idea
|
|---|