Do you want to print all keys for the same value?
Try building a reversed hash of arrays with push @{$reverse{$val}}, $key
Please show desired input and output and what you tried and I'm sure someone will help you.
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re: Find common values in a hash and print the respective keys
by LanX
in thread Find common values in a hash and print the respective keys
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |