You can use the block continuewherever it makes sense: with loops while, untiland foreach, as well as the "base" blocks - blocks that are not part of another statement. Note that you can use the keyword forinstead foreachto construct an iteration of the list, and of course in this case you can have a block continue.
, for (;;) continue - ?
continue do { ... } while ..., (do - , BLOCK , while - ). , ( ), :
do {
{
...;
continue if $bad;
...;
}
continue {
...;
}
} while $more;