Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 scrutinizing the Monastery: (4)
As of 2014-09-19 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls