Maybe this link from the Perl FAQ will help?
In reply to Re: Calling a Program from a Program by Itatsumaki in thread Calling a Program from a Program by Lost_ego