in reply to Re: Net::Telnet Question
in thread Net::Telnet Question
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Net::Telnet Question
by castaway (Parson) on Nov 19, 2004 at 20:20 UTC |