in reply to IO::Socket::INET Messages
If they don't indicate an actual problem with your code you could try turning warnings off. If that doesn't work maybe eval the suspect lines, if you're sure that $host is valid:
Look inside the modules to see what's happening:die "Need a host" unless $host; eval { $ssh = Net::SSH::Perl->new($host, protocol => 2) }; die "Something broke: $@" if $@; # if it matters
|
|---|