# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #123731] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=123731 >
<masak> m: for ^5 { .say; NEXT { last } } <camelia> rakudo-moar 613c0b: OUTPUT«01234» <masak> bug? * masak submits rakudobug for `last` in a `NEXT` not exiting the for loop <masak> m: my $c = 3; while $c { say $c--; NEXT { last } }; <camelia> rakudo-moar 613c0b: OUTPUT«321»