No such thing as a small change | |
PerlMonks |
Re^3: How to get Keys from hash having same value?by shmem (Chancellor) |
on Jan 07, 2008 at 14:19 UTC ( [id://660833]=note: print w/replies, xml ) | Need Help?? |
Voilà:
To get the keys only (which are the values in the reversed hash:
update: oops, got it all wrong. It' about getting all keys where duplicate values are found. As a single statement, formatted for readability
Ah well. Readability... ;-) --shmem
In Section
Seekers of Perl Wisdom
|
|