Syntactic Confectionery Delight | |
PerlMonks |
Re^4: Timeouts: Any alternative to alarm in Win32?by ikegami (Patriarch) |
on Dec 04, 2008 at 12:27 UTC ( [id://727951]=note: print w/replies, xml ) | Need Help?? |
Well that's problematic! I know it returns true when the handle has been closed. That's a good thing. sysread returns zero allowing you to handle disconnects. But I presume that's not what you mean.
IO::Select is just a thin wrapper for select that handles packing and unpacking the bit vectors for you. If it affects select, it affects IO::Select.
As documented. select translates into a system call and pays no attention to Perl's buffers.
As you should be. The diamond operator does buffered I/O which is incompatible with select.
It wasn't a trick question. I have little real-world experience in the matter. Thanks for the info.
In Section
Seekers of Perl Wisdom
|
|