Joseph wrote:
>
> Rob Dixon wrote:
> >
> > Not exactly a transparent piece of code though is it. Especially
> > if your base system isn't Unix!
>
> Works jusat fine on Windows, although it helps to have a longer list,
> since this gets p[rocessed really fast, too fast to see what's going
> on.  Try increasing the loop count to 40.

Hi Joseph.

Yes, it may work well on Windows (and that's useful to know)
but my point still stands.

  perldoc -f select

says

    select RBITS,WBITS,EBITS,TIMEOUT
            This calls the select(2) system call with the bit masks
            specified

Now, if your platform has no such thing as a 'select(2) system call' you
shouldn't really be using the built-in without a proper wrapper and
copious comments to prove that you know what you're doing.

Rob



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to