Re: Event->io

[email protected] (Joshua N Pritikin) Tue, 18 Jun 2002 10:25:23 +0530
Newsgroups perl.loop
Message-ID <[email protected]>
On Mon, Jun 17, 2002 at 01:56:11PM -0400, Jeff Boes wrote:
> However, I'm slighly puzzled that the min and max parameters I send into
> Event->io seem to be ignored.  I didn't see anything in the
> documentation that implied they would be ignored, so I expected that
> 
>   my $event = Event->io(fd=>$fd, poll=>'r', min=>30, max=>60, ...);
> 
> would invoke the callback even if the file descriptor didn't have data. 
> Am I misled, somewhat wrong, or completely wrong?  8-)

The units are "number of seconds".  See the doc for the exact meaning
of min & max.

-- 
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org