Skip Menu |
 

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 77088
Status: open
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: smile_joebob [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.30
Fixed in: (no value)



Subject: Can't locate object method "blocking" via package "FileHandle"
Download (untitled) / with headers
text/plain 540b
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>
Download (untitled) / with headers
text/plain 821b
On Wed May 09 12:17:30 2012, smile4steve wrote: Show quoted text
> 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>
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 service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.