Help for this page

Select Code to Download


  1. or download this
    @lines = $obj->getlines([Timeout => $secs,]);
    
  2. or download this
    timed_out - time-out indicator
    
    ...
    With no argument this method returns true if a previous method
    timed-out.  With an argument it sets the indicator. Normally,
    only internal methods set this indicator.
    
  3. or download this
    while (@rlines = $connect->getlines(Timeout =>1)) {
       print @rlines;
    }
    
  4. or download this
    while (@rlines = $connect->getlines(Timeout =>1)) {
       if ($pop->timed_out) {
    ...
          exit;
       }
       print @rlines;