Have you looked at perlipc?
In reply to Re: Do's and Dont's inside a signal handler by kyle in thread Do's and Dont's inside a signal handler by targetsmart