Hi All,

I have a small script like this:

-------------------------------------------------------------------
use strict;
use Net::Telnet;

my $host = "Wilma";
my $username = "Foo";
my $pass = "Bar";

my $s = Net::Telnet->new( Host=>$host,
                          input_log => "input_log",
                          dump_log => "dump_log",
                        );
$s->login($username,$pass);
$s->print("ls");
print $s->getlines();
----------------------------------------------------------------------


I can run this from a nix machine without any problems. But when i try to run the same 
from a win2k machine it fails with 
"read timed-out" message. But the input_log file contains the correct output. Any 
ideas why getlines is timing out.



Thanx for help,
-Sharad 




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to