Click here to get back home

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

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Can't locate object method "blocking" via package "IO::Handle" kemton 06-20-2005
Posted by kemton on June 20, 2005, 8:38 am
Please log in for more thread options


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



Posted by kemton on June 20, 2005, 8:54 am
Please log in for more thread options


I found a solution to this problem after translating a Russian post
with the same topic. They downgraded to a previous version of
Net::SSH::Perl. I upgraded from 1.27 to 1.28, and it's working now.

Kemton



Similar ThreadsPosted
Can't locate object method "ymd" via package... August 3, 2007, 6:14 am
Can't locate object method "new" via package "Net::SMTP" November 2, 2004, 6:36 pm
Can't locate object method "newFromJpeg" via package "GD::Image" December 19, 2005, 3:03 am
ant locate object method _session_channel via package Net::SSH::Perl::SSH1 July 13, 2006, 6:05 pm
Cant locate object method _session_channel via package Net::SSH::Perl::SSH1 July 13, 2006, 6:15 pm
Pg.pm Question - Can't locate object method driver October 31, 2004, 9:17 pm
GD::Image: Can't locate object method "newFromJpeg" April 1, 2005, 2:51 am
Tk::Browser, "Can't locate object method 'Construct'" January 16, 2008, 4:47 am
How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif") June 5, 2007, 4:22 am
Can't locate loadable object August 4, 2005, 12:18 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap