Re: usage of Net::Telnet

2004-01-21 Thread lobach
This is what I do.. The only difference I see is that you haven't logged on.. my $rmhost = new Net::Telnet (Host => $nodesrch, Timeout => 100 ); $rmhost->login($uname_EGATE, $passwd_EGATE); $cat_command='cat ./data/journal/chopler'; @cat_result=$rmhost->cmd($cat_command);

Re: usage of Net::Telnet

2004-01-20 Thread Tim
Try using input_log and output_log when you instantiate your telnet class. $obj = new Net::Telnet ([Binmode=> $mode,] [Cmd_remove_mode => $mode,] [Dump_Log => $filename,] [Errmode=> $errmode,]