View Single Post
  #1 (permalink)  
Old 02-18-2008, 12:23 PM
Chan Chan is offline
Programming Professional
 
Join Date: Jun 2006
Posts: 205
Rep Power: 10
Chan is on a distinguished road
Default : bad interpreter: No such file or directory

I created another Perl script. Placed it on the same Linux machine in the same directory as all of my other scripts. I used the same first line as other scripts.

Code:
#!/usr/bin/perl
and I checked to make sure that perl was in /usr/bin and I still get the error.

": bad interpreter: No such file or directory"

I don't really know what is wrong here. If I use perl myScript.pl it runs fine. Any idea why this error appears?
Reply With Quote

Sponsored Links