Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: /usr/bin/perl^M: bad interpreter:

by brap (Pilgrim)
on Dec 03, 2009 at 05:03 UTC ( #810750=note: print w/ replies, xml ) Need Help??


in reply to /usr/bin/perl^M: bad interpreter:

The comments on that page mention that same error. The resolution provided is to run the dos2unix /usr/local/bin/sr_server.dat command.

Windows and Unix systems use different end-of-line characters. The ^M bit you're seeing is from a Windows system, and isn't needed on the Unix system.


Comment on Re: /usr/bin/perl^M: bad interpreter:
Select or Download Code
Replies are listed 'Best First'.
Re^2: /usr/bin/perl^M: bad interpreter:
by Anonymous Monk on Feb 17, 2010 at 03:44 UTC
    Thanks for the dos2unix tip as it solved a problem for me.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2015-07-28 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls