Dear List:
My cpan-module is not well-installed :
<procedures to install >
1. choose full_install to install linux ( Redhat or slackware),
type "rpm -q perl" to make sure it's well_installed .
2. download Net-telnet-3.02.tar.gz from www.cpan.org
3. a. untar it
b. perl Makefile.PL
c. make test
l
Then I got
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/i386-linux -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/select............FAILED test 3
Failed 1/3 tests, 66.67% okay
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------
t/select.t 3 1 33.33% 3
Neglect the fail, I still "make install" , then execute script as follows :
use Net::Telnet ();
$t = new Net::Telnet (Timeout => 20,
Prompt => '/bash\$ $/');
$t->open("sparky");
$t->login($username, $passwd); <----------Then I got time out for waiting at line 5 ,but I can telnet the host normally(not use perl-script)
@lines = $t->cmd("/usr/bin/who");
print @lines;
Could you perl-fans shed some light on it ?
BestRegards
Henry
My cpan-module is not well-installed :
<procedures to install >
1. choose full_install to install linux ( Redhat or slackware),
type "rpm -q perl" to make sure it's well_installed .
2. download Net-telnet-3.02.tar.gz from www.cpan.org
3. a. untar it
b. perl Makefile.PL
c. make test
l
Then I got
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/i386-linux -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/select............FAILED test 3
Failed 1/3 tests, 66.67% okay
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------
t/select.t 3 1 33.33% 3
Neglect the fail, I still "make install" , then execute script as follows :
use Net::Telnet ();
$t = new Net::Telnet (Timeout => 20,
Prompt => '/bash\$ $/');
$t->open("sparky");
$t->login($username, $passwd); <----------Then I got time out for waiting at line 5 ,but I can telnet the host normally(not use perl-script)
@lines = $t->cmd("/usr/bin/who");
print @lines;
Could you perl-fans shed some light on it ?
BestRegards
Henry