in reply to Passing a required script arguments
Have a look at the system function, e.g. system('foo.pl', 'par1', 'par2').
Hope this helps, -gjb-