Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to get Keys from hash having same value?

by ysth (Canon)
on Jan 07, 2008 at 05:55 UTC ( [id://660760]=note: print w/replies, xml ) Need Help??


in reply to How to get Keys from hash having same value?

@a_keys = grep { $myhash{$_} eq 'a' } keys %myhash;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://660760]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found