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

Re: Answer: How to get over 'premature end of script headers' in Apache?

by dondelelcaro (Monk)
on May 27, 2004 at 07:02 UTC ( #356821=note: print w/replies, xml ) Need Help??


in reply to Answer: How to get over 'premature end of script headers' in Apache?
in thread debugging

You can also use cat -A to check the line endings. If you see anything but #!/usr/local/bin/perl$, you've got the wrong line endings, and need to use dos2unix or perl -pi -e 's/\r\n/\n/g' foo.pl.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://356821]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-05-27 21:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?