Hmm, if you do this another way, you must be able to avoid the problem:push @return, $self->_rmap($_) for values %$_;
Here, values is finished before the map even starts.push @return, map { $self->_rmap($_) } values %$_;
However... you won't have a problem in the original unless the values is traversed lazily. You never know...
In reply to Re^3: Perl leve control of hash iterators
by bart
in thread Perl level control of hash iterators
by bsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |