title: Perl Scripting: Running mv as external command
body: <p>I'm trying to run this command as a part of my perl script:</p>
  
  <pre><code>`mv $n1 ../out`
  </code></pre>
  
  <p>where $n1 is a file name i'm getting from a previous subroutine.
  I'm getting a error as below:</p>
  
  <pre><code>mv: missing destination file operand after `test.pl'
  Try `mv --help' for more information.
  sh: line 1: ../out: is a directory
  </code></pre>
  
  <p>Can anyone please help. If i run the command individually it runs fine. </p>