cjay has asked for the wisdom of the Perl Monks concerning the following question:
#<some command>
Broadcast message from root Thu Jun 23 11:05:47 2011...
The system is going down for reboot NOW !!
Currently , I am using Net::Telnet for the sessions.All this time I have been using the waitfor method , looking for the prompt to capture the output. I am not sure if I could use the waitfor() method here as there is no prompt in this case .I am not sure how to capture the output.Any hints would be really helpful.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Telnet Session
by Sewi (Friar) on Jun 23, 2011 at 15:32 UTC |