in reply to executing a perl script into another perl script
OR directly :use strict; use warnings; # if the perl script takes input and output strings as arguments my $perl_script = "perl script_to_execute input output"; # print to see what is being executed print "$perl_script\n" my $script_exe = `$perl_script`; # To check for errors print "$script_exe\n";
NOTE: untestedmy $script_exe = `perl perl_script_to_run input output`;
my $cmd = "perl script_to_execute input output"; print STDERR "$cmd\n"; system($cmd);
|
|---|