in reply to Net::telnet question
Else if the prompt remains static, you can set the prompt permanently like this:
$t = new Net::Telnet (Timeout => 10, Prompt => '/bash\$ $/');
Obviously, http://search.cpan.org/~jrogers/Net-Telnet-3.03/lib/Net/Telnet.pm is place to look for more details.
Hope that helps.
Lance
Kia Kaha, Kia Toa, Kia Manawanui!
Be Strong, Be Brave, Be perservering!
|
|---|