Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: how extract values of hash via key

by hdb (Prior)
on Nov 22, 2013 at 10:19 UTC ( #1063913=note: print w/replies, xml ) Need Help??


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;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1063913]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2016-12-11 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (168 votes). Check out past polls.