script 1: my $script2 = ...; # including dir as required my $param1 = ...; my $param2 = ...; system("$script2 \"$param1\" \"$param2\""); script 2: my $param1 = shift; #Pull off the first command line argument my $param2 = shift; #Pull off the second command line argument #do stuff with $param1 and $param2