1 | One can break out of (nested) for loops in fashion offered by Perl with different syntax |
2 | outer: // label |
3 | for( int j=0; j<10; j++) { /* Note j only defined in for loop */ |
4 |
/* select course j */
|
5 | } |
6 | /* break jumps to here out of loop labelled by outer */ |