In C (and therefore in C++, ...), continue is a keyword used to subvert a loop structure. continue skips the rest of the current iteration of the loop; in effect, it is a goto back to the top of the loop, just before the loop test..


Perl calls continue next. In order not to leave a free keyword, Perl allows you to attach a continue block to any loop. The continue block is executed between every 2 iterations of the loop.

Think of Perl's continue as a block equivalent of the third parameter in a 3-parameter C-style for loop.