in reply to Different result for 'foreach' vs 'while shift' arrayref
Incidentally, is there documentation of the behavior of foreach if the contents of the array are volatile during the loop? And of unshift vs. push in such a frightful but-it-happens scenario?
Replies are listed 'Best First'. | |
---|---|
Re^2: Different result for 'foreach' vs 'while shift' arrayref
by kcott (Archbishop) on Apr 19, 2014 at 06:47 UTC |