Randal L. Schwartz wrote:
"Ramprasad" == Ramprasad A Padmanabhan <[EMAIL PROTECTED]> writes:


Ramprasad> $exp->expect(1);

This means "wait at most 1 second for *any* output".


Yes I thought for a simple command like date that should be OK
even If I put $exp->expect(1,/.*2005.*/s) I get no output in the string

Thanks
Ram

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to