select (and IO::Select) only work on Sockets, not on pipes or filehandles on Windows.
As far as I have seen, it is not easy to conveniently retrofit select onto Windows filehandles, because asynchronous Windows IO seems mostly to be done using IO Completion Ports. These allow you to asynchronously read in data, but they don't allow you to check whether there actually is data available to be read. The same problem occurs when using threads.
In reply to Re: [Win32] IO::Select's can_read method
by Corion
in thread [Win32] IO::Select's can_read method
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |