develooper Front page | perl.beginners | Postings from February 2002

net::telnet and ActivePerl

From:
Craig Williams
Date:
February 28, 2002 12:22
Subject:
net::telnet and ActivePerl
Message ID:
E94E9A31F8EDD311BA4B00508B6493BB5245A4@epsnt1.epshq.eps.rwk.com
Running ActivePerl 5.6.1 and using the net::telnet module i get the
following error:

Argument "" isn't numeric in numeric gt (>) at C:/Perl/lib/Net/Telnet.pm
line 2569.

The script generating this is :

#!perl -w

use Net::Telnet;
$telnet = new Net::Telnet ( Timeout=>10,
			    Prompt => '/bash\$ $/');
$telnet->open("host");
$telnet->login('username','password');
#$telnet->cmd('/drv02/pd/temp/perl/sfGraphic/log/sigtestgen.pl');
$telnet->cmd('logout');



any idea's on how to fix this? Thanks for any help




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About