in reply to 2 problems using sockets perl 5.8 and mod_perl2 on Linux
I didn't see it in the documentation, but on my system $nf is set to -1 in the event of an error from select. Checking this instead of $! might fix your problem.if ($!) { print STDERR "ERROR $!\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: 2 problems using sockets perl 5.8 and mod_perl2 on Linux
by Anonymous Monk on Jun 27, 2003 at 15:18 UTC |