Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: using NET::TELNET waiting for login prompt

by Illuminatus (Curate)
on Aug 16, 2012 at 00:47 UTC ( #987667=note: print w/ replies, xml ) Need Help??


in reply to Re^2: using NET::TELNET waiting for login prompt
in thread using NET::TELNET waiting for login prompt

Assuming the ^H at the end is part of the data received by your program, then that's what's causing the failure. You could try

... Prompt => '/[\$#%:><][\s\b]+$/ ...
If that doesn't work, the output from dump_log() might also be helpful.

fnord


Comment on Re^3: using NET::TELNET waiting for login prompt
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987667]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-07-03 00:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (47 votes), past polls