Help for this page

Select Code to Download


  1. or download this
    $pm->run_on_finish(
        sub {
    ...
            $count++;
        }
    );
    
  2. or download this
    $pm->finish(0); # Couldn't connect to this one, skip to next server in
    + main loop
    
  3. or download this
        # Close ssh connection to this server
    $ssh->close();
    $pm->finish(1);