I'm using a child handler which I've used elsewhere on various
systems, but currently I am getting this message:

POSIX::WNOHANG redefined

my handler is as follows:

sub childhandler {

while((my $retv = waitpid( -1, &POSIX::WNOHANG () ))>0) {
$wait_pid[$wait_index] = $retv;
$wait_index++;
}
$SIG{CHLD} = \&childhandle r;
}


I've tried...