Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by Altiokis (Initiate)
on Aug 15, 2012 at 23:49 UTC ( [id://987659]=note: print w/replies, xml ) Need Help??


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

Here's what the input.log shows
ENTER USERNAME < ^H

Replies are listed 'Best First'.
Re^3: using NET::TELNET waiting for login prompt
by Illuminatus (Curate) on Aug 16, 2012 at 00:47 UTC
    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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-18 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found