http://www.perlmonks.org?node_id=660756

isha has asked for the wisdom of the Perl Monks concerning the following question:

I have a hash having keys values pair as follow:
%myhash = { 1 => 'a', 2=> 'b', 3=> 'a', 4=>'c'}

Now i want to get the keys where the value is 'a'.
How can i do this?