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);
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,]
Hi ,
I am trying to use the Net::Telnet module after installing in my solaris 2.8
machine.
But I am unable to get the output.
There is no error messages either.The program just exists.
Could you help me out on this please...
#!/usr/bin/perl -w
use Net::Telnet ();
$t = new Net::Telnet (Timeout