On Mon, Jun 19, 2017 at 11:35 AM, Brad Gilbert <[email protected]> wrote:

> Instead of a `continue` block after the loop, there is a `NEXT` phaser
> inside the block
>

ah, thanks (though the term "phaser" (outside of "set on stun", of course)
is new) and that can be block too:
https://docs.perl6.org/language/5to6-nutshell.html#Flow_Control_statements

   my $str = '';
    for 1..5 {
        next if $_ % 2 == 1;
        $str ~= $_;
        NEXT {
            $str ~= ':'
        }
    }



-- 

a

Andy Bach,
[email protected]
608 658-1890 cell
608 261-5738 wk

Reply via email to