Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: bad interpreter: No such file or directory

by Ophidions (Initiate)
on Nov 10, 2011 at 10:13 UTC ( [id://937321]=note: print w/replies, xml ) Need Help??


in reply to bad interpreter: No such file or directory

This happens when executing scripts with a different line endings pattern different to that of the system you are running. Since it seems you are running on a linux system, open your script in an editor like geany then convert line endings to unix style. This is also encountered with apache. Regards.
  • Comment on Re: bad interpreter: No such file or directory

Replies are listed 'Best First'.
Re^2: bad interpreter: No such file or directory
by Anonymous Monk on Feb 22, 2012 at 07:31 UTC
    I ran into this same issue. Thanks for the help. It worked after removing the ending characters. I wrote my pl script in Notepad++ (windows), which was causing it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://937321]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-24 22:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found