Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2016-06-27 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (345 votes). Check out past polls.