http://www.modperl.com/perl_networking/errata.html#ch12
sez:

Chapter 12: Multiplexed Applications
I have recently learned that the Win32 port of Perl does not support
select() on non-socket filehandles. This means that the select() function
and the IO::Select class cannot be used to multiplex normal filehandles such
as STDIN or STDOUT. IO::Poll will also fail on Windows systems when used
with non-socket filehandles.

Although they may seem to work, all the examples that multiplex across
non-socket filehandles will fail on Win32 systems. Instead of pausing until
STDIN or STDOUT are ready, the main I/O loop will race, causing a noticeable
increase in CPU load.

Because Win32 systems support select(), IO::Select, and IO::Poll on sockets,
all multiplexed server examples in these chapters work as expected.

Reply via email to