Support Center > Knowledgebase > Web Host Manager > Scripts and Scripting Languages > Trying to troubleshoot perl scripts ?
Trying to troubleshoot perl scripts ?
Add the following to the top of the perl / cgi script:
#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser);
Then errors should be redirected to browser rather then getting a 500 error.
Finaly, check if the script runs on the command line and check for errors:
Also Read