title: perl - using backticks instead of system()
body: <p>I have a perl script that calls an other perl script by using system()</p>
  
  <p>it's like:</p>
  
  <pre><code>my $returnval= system("perl", $path,$val1, $val2,@myarray);
  </code></pre>
  
  <p>Because system() returns only the exit status but I want the script's output I want to use backticks.</p>
  
  <p>I tried something like that:</p>
  
  <pre><code>my $returnval = `$path`;
  </code></pre>
  
  <p>how can I add the parameters the script should receive?</p>
  
  <p>how should the other perl script's return code looks like? At the moment it's like </p>
  
  <pre><code>exit ($myreturnedvalue);
  </code></pre>
  
  <p>(how) Is it  possible to return multiple values?</p>