in reply to Run a remote Perl script from within a Perl script with @ARGV
Try this (untested):
my @args = ('ssh', '-o', 'stricthostkeychecking=no', $WLS, './script_to_call.pl', $OldTime, $NewTime, "$WLSP/CDSServer11.log"); system(@args);
@ARGV contains what was passed in on the command line. It is not used for passing to another script. See system.
Hope that helps,
Athanasius <°(((>< contra mundum
|
|---|