POSIX::WNOHANG redefined
- From: Myron Turner <Myron_Turner@xxxxxxx>
- Date: Fri, 23 Sep 2005 14:15:47 GMT
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} = \&childhandler;
}
I've tried this various ways:
waitpid( -1, &POSIX::WNOHANG)
waitpid( -1, &WNOHANG)
waitpid( -1,WNOHANG)
I've always used the latter without any trouble.
Thanks,
Myron Turner
.
- Prev by Date: Win32::Process -> Linux??
- Next by Date: Win32::Process - gunzip and output
- Previous by thread: Win32::Process -> Linux??
- Next by thread: Win32::Process - gunzip and output
- Index(es):