break
Prematurely exit the innermost enclosing foreach or while loop.
while(true) {
...
if($after(12:30, UTC)) {
break;
}
...
}
print "Done.\n"
break command is normally used to exit the
middle of a loop. This is probably of most use in a
foreach loop, where the lack of a continuation
clause can otherwise be too constraining.