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;
|
---|
In Section
Seekers of Perl Wisdom
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;
|
---|