|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: Select and file handlerby pg (Canon) |
| on Nov 13, 2005 at 22:18 UTC ( #508158=note: print w/ replies, xml ) | Need Help?? |
|
Looks like that this is not cross-platform. With Windows XP, the OP's code does return -1. A note that could be related: on Windows, select() is implemented as part of Windows Socket 2. Most likely, select() only works with socket on Windows.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||