in reply to Internal Server Error

There should at least be a hint in the webserver error logs. Try checking there and report back on any findings.

Another possibility is to directly route any STDERR output to STDOUT thus allowing a glimpse of what might be causing the error.

It might also help to know what OS/Webserver/Perl combo you are running.
"But what of all those sweet words you spoke in private?"
"Oh that's just what we call pillow talk, baby, that's all."