See perlvar. You find the arguments in the @ARGV variable.
In reply to Re^4: call a program inside another program by Corion in thread call a program inside another program by Anonymous Monk