you could put your attempt to connect into an eval and catch the die
eval {$ssh->login($user, $pass)}; next if $@;
Cheers,
R.
In reply to Re: Net::SSH::Perl and handling dead hosts
by Random_Walk
in thread Net::SSH::Perl and handling dead hosts
by neilwatson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |