where each array element is itself an array of keys with the same value in the original hash.my @same_value_keys = grep { @{$_} > 1 } values %ihash;
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re^2: Getting the keys of identical values in a hash
by QM
in thread Getting the keys of identical values in a hash
by knsridhar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |