Troubleshoot perl scripts

⌘K

edit perl / cgi script, at top of file … #!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); then errors should be redirected to browser rather then getting a 500 error. ALSO, check if the script runs on the command line, perl -w ./scriptname.cgi and see if it gives you errors.