Just another Perl shrine | |
PerlMonks |
Re: Using Net::Telnetby pc88mxer (Vicar) |
on Mar 05, 2008 at 18:32 UTC ( [id://672242]=note: print w/replies, xml ) | Need Help?? |
It is possible that the trailing newline is the culprit. Note that when you use
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 Section
Seekers of Perl Wisdom
|
|