> perl { print $x++; redo if $x<6; } __END__ 012345 #### > perl X: { print $x++; goto X if $x<6; } __END__ 012345 #### Basic BLOCKs A BLOCK by itself (labeled or not) is semantically equivalent to a loop that executes once. Thus you can use any of the loop control statements in it to leave or restart the block.