http://www.perlmonks.org?node_id=995494


in reply to Re: Call perl script from within another perl script
in thread Call perl script from within another perl script

hi all, I need to execute perl script(script_to_call.pl) on my remote location can I do it in same way (with @ARGV)? This below one not parse @ARGV:
do { local @ARGV; @ARGV = ("$OldTime","$NewTime","$WLSP/CDSServer11.log"); eval { system("ssh -o stricthostkeychecking=no $WLS './script_to_c +all.pl'"); }; };