Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: She-bang confusion

by extremely (Priest)
on Apr 08, 2002 at 18:41 UTC ( [id://157516]=note: print w/replies, xml ) Need Help??


in reply to She-bang confusion

In vim type :se ff=unix and then save the file.

=) dos endings are going to drive you nuts till you learn to move files with ftp and text mode rather than binary mode.

Or in perl you can fix the file with perl -pi.bak -e 's/\r\n/\n/'

--
$you = new YOU;
honk() if $you->love(perl)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found