http://www.perlmonks.org?node_id=478190


in reply to Re^4: select($rin,undef,undef,undef) only blocking once
in thread select($rin,undef,undef,undef) only blocking once

You shouldn't use select with buffered reads, no - in that case, I'd stick with your solution, especially if you want to use explicit read timeouts.

My code was an example showing how you could avoid the use of select, if your circumstances permitted it - which it seems they don't :)