in reply to [Solved] Internal Server Error

It appears that you have replaced, or preceded your "Content type" line.

In that case, the Perl script doesn't say what type of content its output is and the webserver doesn't know what Content-type should be used with the response So, the webserver decides to err out and says 500 Internal Server Error:

This is explained better in this article titled Why does Perl require the "print Content-type" line?.

     Have you been high today? I see the nuns are gay! My brother yelled to me...I love you inside Ed - Benny Lava, by Buffalax