Internal Server Error
If you are running perl script through browser with help of wamp and get it internal server,so first you will check your httpd apache configuration file .
If all setting thing is fine then you will add below line in your script file.
print "Content-Type: text/html; charset=iso-8859-1\n\n";
I hope it will help you.