in reply to Re^3: call a program inside another program
in thread call a program inside another program

See perlvar. You find the arguments in the @ARGV variable.