Re: Net::Telnet - Library Application



Dr.Ruud wrote:
Carl Lafferty schreef:

($info) = $galaxy->waitfor('/\\\b/');
worked like a charm!!
Thank you!!!!!!!

You're welcome. In the mean time I have read some of the documentation
of the module, which says that you can give either a string or a regex
to waitfor(). If the extra interpolation only happens with regexes, just
waitfor("\x5C\x62") might work as well.

I tried that and it didn't work. I tried the single quotes you suggested and it worked like a charm.

ANy idea on how to get it to read x characters from the buffer with no delimiter???

I THINK I can fake a delimiter if I can use an expression to check between different things it CAN be. Some may end in 'ion' or may be 'fic'....

.