http://qs321.pair.com?node_id=660760


in reply to How to get Keys from hash having same value?

@a_keys = grep { $myhash{$_} eq 'a' } keys %myhash;