|
|
| There's more than one way to do things | |
| PerlMonks |
Re: using NET::TELNET waiting for login promptby Illuminatus (Curate) |
| on Aug 15, 2012 at 23:34 UTC ( #987657=note: print w/ replies, xml ) | Need Help?? |
|
Did you look at the documentation for Net::Telnet? It gives you several things to try (like using dump_log() or input_log()). If you did use those, what did they tell you? Are you sure that there's just a single space after the < in the prompt? Your regexp will only match a single space and the EOL. If there are no spaces or more than one, it won't match fnord
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||