Subject: | Can't locate object method "blocking" via package "FileHandle" |
We are migrating from solaris perl 5.10 to linux perl 5.10 and ran into
this error:
<p>“Can't locate object method "blocking" via package "FileHandle" at
line 216.
</p>
<code>
---snip---
213 $ssh->{session}{sock} = $sock;
214 $ssh->_exchange_identification;
215
216 defined($sock->blocking(0))
217 or die "Can't set socket non-blocking: $!";
218
---/snip---
</code>
<P>
Problem is I cannot find a blocking() method in any of the
Net::SSH::Perl distro. So, is this a bug, or am I missing something
obvious?
</P>