Can't locate object method "blocking" via package "IO::Handle"
- From: kemton@xxxxxxxxxx
- Date: 20 Jun 2005 07:38:33 -0700
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
.
- Follow-Ups:
- Prev by Date: HTML::Element->right/->look_down lose, I need to walk the tree
- Next by Date: Re: Can't locate object method "blocking" via package "IO::Handle"
- Previous by thread: HTML::Element->right/->look_down lose, I need to walk the tree
- Next by thread: Re: Can't locate object method "blocking" via package "IO::Handle"
- Index(es):
Relevant Pages
|