http://www.perlmonks.org?node_id=740336


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