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

Re: Bad interpreters coming out

by elef (Friar)
on Apr 06, 2011 at 10:03 UTC ( #897721=note: print w/ replies, xml ) Need Help??


in reply to Bad interpreters coming out

I don't get the thread title at all. How is this a case of "bad interpreters coming out"? What "interpreters"? Where do they come out? From the title, I thought this was a thread about misbehaving perl interpreters.

This is a case of CRLF line endings being generated when you expected LF (the extra character is CR, not ^M. ^M is just vim's representation of a CR character).


Comment on Re: Bad interpreters coming out
Re^2: Bad interpreters coming out
by cdarke (Prior) on Apr 06, 2011 at 11:27 UTC
    I wondered that as well. My guess was that some shells report "bad interpreter" (or something similar) when a ^M (\r) appends the program path on the #! line.

    dos2unix, or s/\r//, would be my solution.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (15)
As of 2015-07-06 10:30 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 (71 votes), past polls