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