|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: waitfor() ctrl+a and ctrl+c in net::telnetby Illuminatus (Curate) |
| on Feb 17, 2013 at 23:10 UTC ( [id://1019230]=note: print w/replies, xml ) | Need Help?? |
|
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||