"Allison, Jason (JALLISON)" wrote: > > if (scalar(@ReadyHandles) > 0) > { > ... > else > { > if (! $ERRNO)
Here is the problem. You are trying to use ERRNO like a return code, assuming it is set to 0 if nothing is wrong. You can't assume that. Use it only in the context of the failure of the immediately preceding program statement. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]