- or download this
$resp = `script2.pl \Q$var1\E \Q$var2\E`;
- or download this
open(CMD, "script2.pl \Q$var1\E \Q$var2\E") or die $!;
while(<CMD>) {
...
print ">>$_\n";
}
close CMD;
- or download this
if(system("script2.pl \Q$var1\E \Q$var2\E")){
print "Error running script2.pl!\n";
}