On Mon, Jun 19, 2017 at 11:15 AM, Andy Bach <afb...@gmail.com> wrote: > > On Fri, Jun 16, 2017 at 11:11 PM, Gabor Szabo <szab...@gmail.com> wrote: >> >> If the loop has some action and a condition it will jump to execute >> the action again (increment $i) and check the condition and act >> accordingly doing the next iteration or quitting the loop. > > > Just checking but there are no "continue" blocks for loop control stmts > anymore, P6? Google suggested maybe foreach loops but that was back in 2011. >
Instead of a `continue` block after the loop, there is a `NEXT` phaser inside the block for 1..4 { next if $_ == 3; .^name.say; NEXT .say; } Which results in: Int 1 Int 2 3 Int 4