On Mon, 2002-04-15 at 17:31, Ahmed Moustafa wrote: > > #reap the children to avoid zombies > > waitpid $_ for (@children); > > Do I need to pop the pid's from the stack children? > > Thanks, > > Ahmed
You are better off trying $SIG{CHLD} = 'IGNORE'; at the top of your program and seeing if zombies are left out there. If so then you might want to use pop or shift like this waitpid shift @children while @children; -- Today is Setting Orange the 32nd day of Discord in the YOLD 3168 Missile Address: 33:48:3.521N 84:23:34.786W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]