Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Select and file handler

by pg (Canon)
on Nov 13, 2005 at 22:18 UTC ( #508158=note: print w/replies, xml ) Need Help??

in reply to Select and file handler

Looks like that this is not cross-platform. With Windows XP, the OP's code does return -1.

A note that could be related: on Windows, select() is implemented as part of Windows Socket 2. Most likely, select() only works with socket on Windows.

Replies are listed 'Best First'.
Re^2: Select and file handler
by ikegami (Pope) on Nov 14, 2005 at 13:57 UTC
    select only works on sockets in Win32. Update: I guess you said that already. I apparently didn't read your entire post. Well, take it as confirmation, then.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://508158]
[shmem]: ns{1,2,3} unreachable and no caching. -.-
[karlgoethebier]: funny that they call it Big Dipper in the US. Here this part of Ursa Major is called "Großer Wagen" Big wagon...or car as you like ;-)
[stonecolddevin]: morning all

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2017-11-21 18:10 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (308 votes). Check out past polls.