in reply to
Understanding fork
You probably also want to have your child do a
$SIG{HUP} = 'IGNORE'
But, there's an even better way. I suggest you take a look at
Proc::Daemon
.
Comment on
Re: Understanding fork
Download
Code
In Section
Seekers of Perl Wisdom