Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-02-25 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (365 votes). Check out past polls.