in reply to Re: Net::SSH2 strangeness
in thread Net::SSH2 strangeness
And $! is for system calls. $ssh2->connect is not a system call, so $! is not appropriate either. Net::SSH2 provides the error method to get error messages. (Although it looks like it croaks for some errors from looking at the source.)
|
|---|