Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: Does IO::Select work? (Problem partially resolved)

by andal (Friar)
on Oct 22, 2012 at 09:06 UTC ( #1000297=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Does IO::Select work? (Problem partially resolved)
in thread Does IO::Select work? Anywhere?

You may not have, but others have

Just to clarify things a little. The page you have referenced, does not provide any specific example where the file descriptor would be closed by something other than the program itself. And I dare to say, that Linux kernel never closes handles opened by application unless application requests it. I don't believe perl would do it either. If you know about such place in perl, please point it out, so that I could avoid this swampy area in the future.

I don't know how the things are done on Windows. But really, if Windows kernel closes your handles behind your back, then it is another reason for me not to use it :) It's a joke of course. But practical outcome is then, that IO::Select is not usable on Windows, but it shouldn't introduce any problems on Linux, as long as the user does the right thing. IMHO.


Comment on Re^4: Does IO::Select work? (Problem partially resolved)
Re^5: Does IO::Select work? (Problem partially resolved)
by BrowserUk (Pope) on Oct 22, 2012 at 09:39 UTC
    The page you have referenced, does not provide any specific example

    Okay. He made it up; p5p accepted and patched it, just to appease him; and your glorious Linux is perfect.

    if Windows kernel closes your handles behind your back, then it is another reason for me not to use it :) It's a joke of course.

    There is a joke there all right.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    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.

    RIP Neil Armstrong

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000297]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2014-09-01 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls