Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2017-01-17 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (153 votes). Check out past polls.