title: why is my perl system command not working?
body: <p>This is my perl code to move result to the sent folder.</p>
  
  <pre><code> system("mv /home/pi/downloads/$result /home/pi/downloads/sent/$result");
  </code></pre>
  
  <p>The error i get is:</p>
  
  <pre><code>mv: missing destination file operand after `/home/pi/downloads/filename.txt'
  </code></pre>
  
  <p>What am i doing wrong here?</p>