Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I wouldn't be surprised now if even splice might not confuse the loop as long as you are splicing parts of the array that the loop iterator hasn't reached yet.
--DrWhy "If God had meant for us to think for ourselves he would have given us brains. Oh, wait..." In reply to Re^2: Is it safe to append to the array you are iterating over (yes)
by DrWhy
|
|