Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: map and grep (but for hashes)

by rir (Vicar)
on Jan 30, 2009 at 22:01 UTC ( #740336=note: print w/ replies, xml ) Need Help??


in reply to map and grep (but for hashes)

I'm not up on guts but just being able to access a hashes state might help a bit:

print each %hash until %hash->ITER_END;
Reusing $a and $b might be worth a look.

I'm not sure if you also want rhgrep and rhmap, which would mean either the hash or $_ is readonly.

Be well,
rir


Comment on Re: map and grep (but for hashes)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2015-07-04 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls