Behavior change: $ perl6 -e'my @a = << >>; while (my @c = splice @a, 0, 3) { say "one more"; }' $ perl6 -v This is perl6 version 2015.01-32-geea99e3 built on MoarVM version 2015.01-5-ga29eaa9
Looks good to me; marking as testneeded On Mon Feb 25 17:12:10 2013, rjbs wrote: > Thanks, Patrick. I used a similar workaround. > > The notion that the behavior we see in Rakudo (but not in N~) came > from Larry. I think the last > paragraph here is on point: > > http://perlcabal.org/syn/S32/Containers.html#splice > > And: > > 20:11 <TimToady> and well motivated, insofar as it makes it much > easier to > write a loop with it > 20:11 <rjbs> indeed > 20:11 <TimToady> not to mention prior art in p5 > > Thanks!