Other advantages are that it doesn't break when
becomesLOOP: while(1) { last LOOP; }
and does the right thing inLOOP: while(1) { while ( condition ) { last LOOP; } }
THING: for my $thing (@things) { redo THING; }
In reply to Re^6: Re Execute Lines of Code (labels)
by hipowls
in thread Re Execute Lines of Code
by btobin0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |