Help for this page

Select Code to Download


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