Parallel::ForkManager has an example you could use as a foundation.
In reply to Re: muliple request with fork by derby in thread muliple request with fork by RedGrinGo