I am trying to run a perl script which needs input arguments from a parent perl script, but doesn't seem to work. Appreciate your help in this regard.
From parent.pl
$input1=123;
$input2=abc;
I tried calling it with
system("/usr/bin/perl child.pl $input1 $input2");
and
`perl child.pl $input1 $input2`;
and
`perl child.p`l $input1 $input2;
None seem to work. Any suggestions?