in reply to
Fork Causing <defunct>
The child could disconnect from the parent and become a daemon, who will be adopted by the init process.
See
Writing a Perl Daemon
and
Proc::Daemon
Comment on
Re: Fork Causing <defunct>
In Section
Seekers of Perl Wisdom