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 In reply to Re: Looking up a hash by value
by Tyke
in thread Looking up a hash by value
by tanger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |