Re: Net::Telnet - Library Application
- From: "Dr.Ruud" <rvtol+news@xxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 01:41:12 +0200
Carl Lafferty schreef:
#got stuff up to description now
($info) = $galaxy->waitfor("/\x5C\x62/");
Because of unexpected interpolation, that could change to "/\b/" to
match backspace.
Maybe use a compiled regex:
($info) = $galaxy->waitfor(qr/\x5C\x62/);
Or try:
($info) = $galaxy->waitfor('/\\\b/');
(single or double quotes, 3 or 4 backslashes)
--
Affijn, Ruud
"Gewoon is een tijger."
.
- Follow-Ups:
- Re: Net::Telnet - Library Application
- From: Carl Lafferty
- Re: Net::Telnet - Library Application
- References:
- Net::Telnet - Library Application
- From: Carl Lafferty
- Net::Telnet - Library Application
- Prev by Date: Module::Build / version / cpan / tail chasing
- Next by Date: Re: Parse data structure
- Previous by thread: Net::Telnet - Library Application
- Next by thread: Re: Net::Telnet - Library Application
- Index(es):
Relevant Pages
|
|