last, next and redo allow one simple ways to alter execution flow in loops |
while (something is tested) {
|
} |
# last jumps to here |
These commands control innermost enclosing for foreach or while loop |
last jumps out of loop |
next jumps over rest of loop |
redo jumps back to start of loop |