Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Problem with IO::Select

by ikegami (Pope)
on Feb 28, 2007 at 23:53 UTC ( #602622=note: print w/replies, xml ) Need Help??


in reply to Problem with IO::Select

The 0 in can_read(0) means wait 0 seconds. That's a very short time, which is why can_read always returns instantly. Use can_read().

Update: Nevermind. Contrary to the documentation, a timeout of 0 is the same as no argument.

Replies are listed 'Best First'.
Re^2: Problem with IO::Select
by timos (Beadle) on Mar 01, 2007 at 00:00 UTC
    This yields the same result. Sorry I made a mistake, I inserted the 0 just for testing, because I wondered if it has any special meaning. So please excuse me.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2019-07-17 12:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?