|
|
| Don't ask to ask, just ask | |
| 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?? |
|
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||