No such thing as a small change | |
PerlMonks |
Re^3: Timeouts: Any alternative to alarm in Win32?by BrowserUk (Patriarch) |
on Dec 04, 2008 at 01:22 UTC ( [id://727846]=note: print w/replies, xml ) | Need Help?? |
Is there any advantage ... That is both easy and difficult to give a straight answer to.
Essentially, having seen can_read() return true when nothing was available, and had the code enter an infinite read state on several occasions (generally when my ISP decided to timeout my connnection), I'm very shy of using select or IO::Select in conjuction with blocking IO (the diamond operator and friends). Maybe I'm talking out of my a***; maybe I've just been 'unlucky'; but that's my experience. And you know, one of the definitions of madness is doing the same thing over and over and expecting the outcome to be different. Since I do not consider myself to be mad (that's another strong indicator :), when I get bitten a few times, I tend to get shy. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|