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