Open briandfoy opened 1 year ago
On Wed May 09 12:17:30 2012, smile4steve wrote:
We are migrating from solaris perl 5.10 to linux perl 5.10 and ran into this error:
“Can't locate object method "blocking" via package "FileHandle" at line 216.
---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---
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?
It’s probably related to this:
$ perl -e 'use IO::Handle; warn ref *STDOUT{IO}'
IO::Handle at -e line 1.
$ perl -e 'use FileHandle; warn ref *STDOUT{IO}'
FileHandle at -e line 1.
This ticket was imported from rt.cpan.org 77088
We are migrating from solaris perl 5.10 to linux perl 5.10 and ran into this error:
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?