Can't locate object method "blocking" via package "IO::Handle"



I am receiving the error message:

Can't locate object method "blocking" via package "IO::Handle" at
/usr/opt/perl5/lib/site_perl/5.8.0/Net/SSH/Perl.pm line 212, <GEN0>
line 1.

Here is a program that demonstrates the error:

#!/usr/bin/perl

use Net::SSH::Perl;

my $ssh = Net::SSH::Perl->new("<your hostname>");

$ssh->login("username", "xxxxxxxx");
my $command = "date";
my ($out, $err, $rc) = $ssh->cmd($command);

print "out: $out\n";
print "err: $err\n";
print "rc: $rc\n";

Here is some additional information about the system:
# find /usr/opt/perl5 -name Handle.pm
/usr/opt/perl5/lib/5.8.0/Tie/Handle.pm
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/IO/Handle.pm
/usr/opt/perl5/lib64/5.8.0/Tie/Handle.pm
/usr/opt/perl5/lib64/5.8.0/aix-thread-multi-64all/IO/Handle.pm
# uname
AIX
# oslevel
5.2.0.0
# uname -M
IBM,7038-6M2

I would appreciate any assistance in resolving this error.

Kemton

.



Relevant Pages

  • Re: Problems compiling Samba 3 on AIX 5.1
    ... m> When I run make to compile Samba 3.0 on AIX 5.1 I am receiving the ... m> following error message: ... to the link command. ...
    (comp.unix.aix)
  • Problems compiling Samba 3 on AIX 5.1
    ... When I run make to compile Samba 3.0 on AIX 5.1 I am receiving the ... following error message: ... ld: 0711-781 ERROR: TOC overflow. ...
    (comp.unix.aix)
  • Finding system data with system calls.
    ... I'd like to obtain some data about a machine that runs AIX in a C ... I note that the uname structure ... pages of ram. ... h) The number of CPUs actually online. ...
    (comp.unix.aix)
  • Re: portupgrade ruby-1.8.4
    ... so I ran portupgrade -arR and the ruby-1.8.4 upgrade failed. ... > The error message is: ... root@kg-quiet# uname -a ...
    (freebsd-stable)
  • Samba problems on 8.0-RC2
    ... After running the latest upgrade for samba33, I cannot start it anymore. ... error message is: ... *Starting smbd. ... uname -a says: ...
    (freebsd-current)