in reply to map-like hash iterator
Or maybe even
sub hashit (&\%) { my ($c, $h) = @_; local ($a, $b); map { ($a, $b) = each %$h; $c->() } (undef) x keys %$h; }
Makeshifts last the longest.
In Section
Cool Uses for Perl