Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 lurking in the Monastery: (10)
As of 2016-07-25 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (224 votes). Check out past polls.