On Sun, 1 Dec 2002, Atkinson, Paul (CRTRES) wrote:

> >-----Original Message-----
> >From: ibrahim [mailto:[EMAIL PROTECTED]]
> >
> >"timed-out waiting for command prompt at test1.pl line 5". Pleas help.
> >$telnet->waitfor('/login: $/i');
>
> Maybe the device you are talking to is sending you control characters...
>
> Try simplifying what you are waiting for to this:
> $telnet->waitfor('/login:/');
>

So long as his prompt regex is anchored at the end instead of
the beginning, I have a feeling his prompt is never going to
be matched.

**** [EMAIL PROTECTED] <Carl Jolley>
**** All opinions are my own and not necessarily those of my employer ****



_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to