There are some examples in perlipc.
In reply to Re: Finding if a child process has terminated by Joost in thread Finding if a child process has terminated by cog