Hi, IO::Poll::VERSION = 0.06
I'm not sure if this is a bug, but the behavior of poll is not what I'd expect in the following situation: If poll is called with a timeout, but with no handles, it returns immediately, and does not wait the specified timeout. I would think it should wait, just like select(undef, undef, undef, $timeout) waits for the timeout. Is this on purpose for some reason, or is it a bug? Thanks. the following code snippet illustrates: use IO::Poll 0.06; my $poll = new IO::Poll; my $timeout = 1; while (1) { my $res = $poll->poll($timeout); # select(undef,undef,undef,$timeout); # this works print scalar(localtime), "\n"; } -- Ephraim Dan MagniFire Networks (Israel) Ltd. +972-3-648-3120 ext. 348 [EMAIL PROTECTED]