title: Tail command used in perl backticks
body: <p>I'm trying to run a tail command from within a perl script using the usual backticks.</p>
  
  <p>The section in my perl script is as follows:</p>
  
  <pre><code>$nexusTime += nexusUploadTime(`tail $log -n 5`);
  </code></pre>
  
  <p>So I'm trying to get the last 5 lines of this file but I'm getting the following error when the perl script finishes:</p>
  
  <pre><code>sh: line 1: -n: command not found
  </code></pre>
  
  <p>Even though when I run the command on the command line it is indeed successful and I can see the 5 lines from that particular.</p>
  
  <p>Not sure what is going on here. Why it works from command line but through perl it won't recognize the -n option.</p>
  
  <p>Anybody have any suggestions?</p>