Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Login failure with net::Telnet

by andyford (Curate)
on Dec 22, 2006 at 19:00 UTC ( [id://591376]=note: print w/replies, xml ) Need Help??


in reply to Login failure with net::Telnet

The regular expression that you are using to match the prompt

/[\$%#>]\ $/
is looking for a dollar, hash or pound followed by a space followed by dollar.

To match just a ">", change it to

/>/

non-Perl: Andy Ford

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found