Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: waitfor() ctrl+a and ctrl+c in net::telnet

by Illuminatus (Curate)
on Feb 17, 2013 at 23:10 UTC ( #1019230=note: print w/replies, xml ) Need Help??


in reply to waitfor() ctrl+a and ctrl+c in net::telnet

waitfor takes a perl regex as a parameter. ctrl chars can be matched using either their hex values (ie \x01 for ctrl-A) or as ctrl chars themselves (ie using \cA for ctrl-A). This is all explained in perlreref. Have you already tried this?

fnord

  • Comment on Re: waitfor() ctrl+a and ctrl+c in net::telnet

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019230]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2017-11-23 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (328 votes). Check out past polls.

    Notices?