title: Script showing bad interpreter and will not run
body: <p>I was sent a perl script over mail and asked to run it .I placed it on my local drive as is but when I tried to run the script it shows me </p>
  
  <pre><code>/usr/bin/perl^M: bad interpreter: No such file or directory
  </code></pre>
  
  <p>I checked and usr/bin/ does have perl in there .I am not sure what is wrong.I checked a bit and looks like I am missing some spaces or something ..I tried adding those at the end of 
  usr/bin/perl and at the end of the file but that didnt help either.
  I even tried to use dos2unix</p>
  
  <pre><code>dos2unix oldfile newfile
  </code></pre>
  
  <p>'dos2unix' not found.This is on MacOSX.
  Might I also mention that I am sshing into my mac using my windows machine at home.</p>