Gorby has asked for the wisdom of the Perl Monks concerning the following question:
Would the can_read function cause the program to wait indefinitely until a handle is available for reading, or would these lines simply execute 5 times regardless of whether a handle is available for reading? Thanks in advance for your wisdom.for($xcounter=0; $xcounter<5; $xcounter=$xcounter+1) { @handles = $selector->can_read; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Waiting and waiting?
by dug (Chaplain) on Mar 04, 2003 at 04:35 UTC | |
|
Re: Waiting and waiting?
by heezy (Monk) on Mar 04, 2003 at 04:49 UTC | |
by chromatic (Archbishop) on Mar 04, 2003 at 05:57 UTC | |
by dug (Chaplain) on Mar 04, 2003 at 06:04 UTC | |
by heezy (Monk) on Mar 04, 2003 at 16:47 UTC | |
by blakem (Monsignor) on Mar 06, 2003 at 08:52 UTC | |
by derby (Abbot) on Mar 04, 2003 at 13:23 UTC |