in reply to
Understanding fork
You can finish the parent with  
wait;
  or
waitpid $pid;
  before exiting, then you won't leave "zombies" around.     See
perlipc
, for far more than you ever wanted to know.
 
p
Comment on
Re: Understanding fork
Select
or
Download
Code
In Section
Seekers of Perl Wisdom