Re: Net::Telnet - Library Application



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."


.



Relevant Pages