in reply to Re: how extract values of hash via keyin thread how extract values of hash via key
grep is doing the job nicely:
my @acodes = grep { $CodonMap{$_} eq 'A' } keys %CodonMap; [download]