The stupid question is the question not asked | |
PerlMonks |
Re^4: self-feeding infinite loopby syphilis (Archbishop) |
on Aug 18, 2007 at 14:33 UTC ( [id://633486]=note: print w/replies, xml ) | Need Help?? |
But you're definitely in the territory of "unpredictable behaviour" I may be being somewhat picky (or I may even be downright wrong), but I don't see any "unpredictable behaviour" there. I agree that one needs to be careful when modifying an array by iterating over the same array, but the following does behave predictably: Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|