sub stuff statement 1 statement 2 statement 3 .... } if(cond1) { stuff(); } elsif (cond2) { stuff() while (innercond); }