Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Ouch! Each! Reentrant it is not

by Thilosophy (Curate)
on Jul 15, 2005 at 09:51 UTC ( #475157=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^4: Ouch! Each! Reentrant it is not
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).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://475157]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2015-07-08 03:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls