Help for this page

Select Code to Download


  1. or download this
    MAIN: {
        # All of your code goes here...
        if ( $bad_scenario ) { redo MAIN; };
    }
    
  2. or download this
    my $bad = 0;
    MAIN: {
    ...
        # Close open filehandles, reset globals, etc.
        print "Continue block\n";
        if ( $bad ) {$bad=0; redo MAIN;};