$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.
In reply to Re: Using Net::Telnet
by pc88mxer
in thread Using Net::Telnet
by TStanley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |