in reply to Help using a tied filehandle from Win32::SerialPort in IO::Select
This would let me give it a little time, but I guess now I have to learn how to use SIG{ALRM}. Is there something better? Oh I've also found that in Windows, I can't catch SIG{INT} when the code is blocking on a $socket->accept() call. I had to make the socket non-blocking and stick it in a while(1) loop. This is normal (at least for Windows), right?$serial_select->can_read($timeout)
|
|---|