There's more than one way to do things | |
PerlMonks |
Re^3: How foreach loops decide what to iterate throughby jasonk (Parson) |
on Feb 15, 2009 at 18:33 UTC ( [id://743951]=note: print w/replies, xml ) | Need Help?? |
Essentially what you are doing is something like this:
So the loop isn't being restarted or re-evaluated, but because you are extending the thing it's iterating over, it never gets to the end.
In Section
Seekers of Perl Wisdom
|
|