There's more than one way to do things | |
PerlMonks |
Re^5: select($rin,undef,undef,undef) only blocking onceby Tanalis (Curate) |
on Jul 26, 2005 at 13:49 UTC ( [id://478190]=note: print w/replies, xml ) | Need Help?? |
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 :) -- Foxcub
In Section
Seekers of Perl Wisdom
|
|