Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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.


Comment on Re: Answer: How to get over 'premature end of script headers' in Apache?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2014-12-27 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls