Mega Code Archive

 
Categories / Perl / Language Basics
 

Perl Flow Control Commands

Command       Usage goto label        Jumps to named label. Last              Breaks out of the current innermost loop. last label        Breaks out of current loop at label. Next              Starts next iteration of loop. next label        Starts next iteration of loop, at label. Redo              Restarts the loop without re-evaluating condition. redo label        Restarts the loop label without re-evaluating condition.