in reply to Re^3: Ouch! Each! Reentrant it is not
in thread Ouch! Each! Reentrant it is not

Experimentation proves you right. Interesting. I must have mis-interpreted the perldoc:

There is a single iterator for each hash, shared by all "each", "keys", and "values" function calls in the program.

Replies are listed 'Best First'.
Re^5: Ouch! Each! Reentrant it is not
by ysth (Canon) on Jul 15, 2005 at 09:54 UTC
    That just indicates that keys and values affect the iterator (resetting it).