gravitron has asked for the wisdom of the Perl Monks concerning the following question:

Hey, is there anyway to disable the pattern match timeout?

if not how can i instead of using waitfor, have where it "listens" to the incoming data and then checks the data and stuff once it notices data is coming in, like in sockets?

thanks
-dennis
  • Comment on disable pattern match timeout - Net::Telnet

Replies are listed 'Best First'.
Re: disable pattern match timeout - Net::Telnet
by archon (Monk) on Mar 18, 2001 at 14:13 UTC
    The answer is clearly given in the Net::Telnet manpage section on the waitfor method:
    $ok = $obj->waitfor([Match => $matchop,] [String => $string,] [Timeout => $secs,]);
      thanks, i overlooked that