|
12-28-2006, 05:33 PM
Put this as the second line in the file
use CGI::Carp qw(fatalsToBrowser);
it may give you a better error than a generic 500
500's are thrown for many reason, some straight forward and some obscure. They may be internal server misconfigs or may result from such simple things as uploading the file with DOS instead of unix line endings.
uploading as binary instead of ascii
file corruption on uploading
incorrect permissions
shebang(#!) line does not point to perl
.
|