Re: [Net::Telnet::Cisco users] Trouble logging into Cisco ASA with Net::Telnet::Cisco
Brought to you by:
jkeroes
From: Garry T. W. <gtw...@gm...> - 2008-12-12 21:54:34
|
On Friday 12 December 2008 14:35:48 Chris Knight wrote: [snip] > .hq> You probably want something like this to match that prompt: /^\.[^>]+>/ In other words, match the beginning of a line, a '.', one or more characters that are not '>', and finally '>'. (You might add \s*$ to the end just to make sure.) As I recall, this module lets you set the regular expression for the host's prompt. -- Garry T. Williams --- +1 678 656-4579 |