in reply to Strange behaviour: $! is set after successful socketpair() call
Maybe this thread is also of interest: Re: Testing for readdir failure (Perl-bug)
Cheers Rolf
( addicted to the Perl Programming Language)