I did not understand the "\n" part of what you said. Do you mean sending a "\n" once in a while during non-interactive period? The sequence of commands I use are
new Net::Telnet() $telnet->print() $telnet->waitfor()
$telnet->cmd() makes my things complicated as I have to specify the prompt which I cannot with one regex.
Thanks
In reply to Re^2: Net::Telnet Question
by Anonymous Monk
in thread Net::Telnet Question
by newest_newbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |