title: Reading output from command into Perl array
body: <p>I want to get the output of a command into an array &mdash; like this: </p>
  
  <pre><code>my @output = `$cmd`;
  </code></pre>
  
  <p>but it seems that the output from the command does not go into the <code>@output</code> array.</p>
  
  <p>Any idea where it does go? </p>