in reply to Re: last in a do while loop
in thread last in a do while loop
LOOP: { charlie; last LOOP if bob; david; redo LOOP if alice; }
A more concise syntax:
for (;;) { charlie; last if bob; david; last if !alice; }
It's my understanding that for (;;) { ... } can be replaced simply with loop { ... } in Perl6.
In Section
Seekers of Perl Wisdom