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 |