Can"t locate object method "blocking" via package "IO::Handle"
am 20.06.2005 16:38:33 von kemtonI 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,
line 1.
Here is a program that demonstrates the error:
#!/usr/bin/perl
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->new("
$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