Problems? Is your data what you think it is? | |
PerlMonks |
Re^4: How foreach loops decide what to iterate throughby jvector (Friar) |
on Feb 15, 2009 at 22:38 UTC ( [id://743966]=note: print w/replies, xml ) | Need Help?? |
The insight moment for me in this thread was getting when it is that an anonymous array is created and used (and therefore the loop is unaffected by modifications to the original array during its execution) as opposed to the original array itself being used during the loop. Note to self: check copy of PBP to see if this is mentioned. Find "This signature" for less on Ebay
In Section
Seekers of Perl Wisdom
|
|