Front page | perl.perl5.porters |
Postings from March 2001
From: Benjamin Stuhl
March 4, 2001 15:38
Message ID: firstname.lastname@example.org
--- Dianne Britton <email@example.com> wrote:
> I've been stopped short trying to get IO::Select to work
> for me. The following small program does NOT block on
> the can_read. It just prints "ready 0". I'm running
> Perl 5.6 build 623 on Windows 98. If you can help,
> --- Dianne
> use IO::Select;
> $s = IO::Select->new();
> @ready = $s->can_read;
> print "ready " . @ready . "\n";
This is an issue with 4-arg select() on Win32. Due to the
braindeadedness of the Win32 stdio implementation, 4-arg
select (which IO::Select is built on) _only_ works on
filehandles from socket(). This may someday be fixed by
PerlIO, but don't hold your breath.
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
by Dianne Britton
by Benjamin Stuhl