title: Store executable jar output in a variable in Perl
body: <p>I need the retrieve the output of a Java program and store it in a Perl variable so that i'll be able to use split function. I am getting the java output using,</p>
  
  <pre><code>my @args = ("java", "-jar", "first.jar");
  
  system(@args);
  </code></pre>
  
  <p>But how to convert this <code>@args</code> into <code>$args</code> variable (string) so that i can split the output from the string.</p>