http://www.perlmonks.org?node_id=1022043


in reply to Re: Error - A non-blocking socket operation could not be completed immediately.
in thread Error - A non-blocking socket operation could not be completed immediately.

Hi BrowserUK,

Thank you for taking time to reply. I was browsing through PerlMonks a few weeks ago while trying to write a similar script that used the Net::SSH2 module and a thread mentioned to set $chan->blocking(0) to get things working. Tried that and it worked. Now, even when I remove it, I still get the same error.

Perlpetually Indebted To PerlMonks

use Learning::Perl; use Beginning::Perl::Ovid; print "Awesome Books";
http://dwimperl.com/windows.html is a boon for Windows.