Knowledgebase: Information On Perl
Should I upload my Perl scripts in ASCII or Binary mode?
Posted by Roy Petersen on Feb-15-2007 12:16 PM
You should always upload your Perl scripts in ASCII mode via FTP. If you upload your scripts in binary mode, the scripts will not work and you will get an "Internal Server Error: Premature End of Script Headers" error (500 Internal Server Error). It is very important to remember to only upload your Perl scripts in ASCII mode!