in reply to Re: Matching prompt in Net::Telnet
in thread Matching prompt in Net::Telnet
This works!! The default prompt '/[\$%#>] $/' didn't work because it had the extra $ towards the end of the string.use Net::Telnet; $telnet = new Net::Telnet ( Timeout=>10, Errmode=>'die',Input_Log=>'out.txt', Prompt=>'/[\$%#>]/');
|
|---|