Hi chanakya,
I would recomend you to take a look at
POE::Wheel::Run and the
POE_Cookbook/Child_Processes_4 and
POE_Cookbook/Child_Processes for simple examples on scripts that do stuff similar to what you pretend.
This examples use the
POE::Wheel::Run module, that I successfully used in the past for paralel processing.
They are very simple to use, and give you a great deal of control.