Re: Net::Telnet - Library Application
- From: Stephan Titard <sgt19@xxxxxx>
- Date: Mon, 17 Jul 2006 13:26:21 +0200
Carl Lafferty escribió:
Just a small remark. The *Net::Telnet* module has a lot of functionality, but when it comes to automate an interactive program I think *expect* first. *expect* uses pseudo-terminals so this may be a limitation on some platforms.Couldn't get the top one to work BUT the bottom one worked like a charm!!
($info) = $galaxy->waitfor(qr/\x5C\x62/);
Or try:
($info) = $galaxy->waitfor('/\\\b/');
Thank you!!!!!!!
A pure perl clone exists as module *Expect*.
hth
--stephan
.
- Follow-Ups:
- Re: Net::Telnet - Library Application
- From: Carl Lafferty
- Re: Net::Telnet - Library Application
- References:
- Net::Telnet - Library Application
- From: Carl Lafferty
- Re: Net::Telnet - Library Application
- From: Dr.Ruud
- Re: Net::Telnet - Library Application
- From: Carl Lafferty
- Net::Telnet - Library Application
- Prev by Date: Re: Perl equivalent of this script?
- Next by Date: Re: Perl based free bulletin board system
- Previous by thread: Re: Net::Telnet - Library Application
- Next by thread: Re: Net::Telnet - Library Application
- Index(es):
Relevant Pages
|
|