# Outer Perl script # do something and set $arg to something my @inner_script_result = `perl ./inner_script.pl $arg`; # ...