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


in reply to Re: how extract values of hash via key
in thread how extract values of hash via key

grep is doing the job nicely:

my @acodes = grep { $CodonMap{$_} eq 'A' } keys %CodonMap;