in reply to Using Net::Telnet
$NT->cmd("1\n");
you will be sending two newlines - the one you specified in the argument to cmd and one that Net::Telnet will add to the end of each command line.
You can try using the put method or setting the output_record_separator to the empty string.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Using Net::Telnet
by Tanktalus (Canon) on Mar 06, 2008 at 17:51 UTC |