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
  p
|
---|
In Section
Seekers of Perl Wisdom