in reply to Re: Re: creating a fork processin thread creating a fork process
You might want to take a look at Proc::Daemon. I think the init() function might be a better approach then the one you are taking with closing your filehandles.