Mr. Shawn H. Corey schreef:

> You could do it this way:
>
>   END {
>     kill TERM, keys %childs;
>   }
>
> which will kill the child processes regardless of how the program
> ended; with the exception of `kill 9`, of course.

If the childs stopped earlier, and their PIDs got reused, you would kill
wrong processes in this way.

-- 
Affijn, Ruud

"Gewoon is een tijger."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to