http://www.perlmonks.org?node_id=297557


in reply to help with an error 500 messge...

Did you check permissions (chmod 755)? Is your localhost running any modules that your remote host is not? Are there any file path issues? Did you check the error log? Add:
CGI::Carp qw(fatalsToBrowser);
to the beginning of your script and see what it returns.

These are frustrating errors, but there are ways to hunt them down. It's probably something really simple that you overlooked.

Carry on!


Follow up:
I ran a quick Google on "perl error 500" and came up with two ostensibly helpful sites here and here.