Troubleshoot perl scripts

⌘K
  1. Home
  2. Docs
  3. SysAdmin
  4. Linux
  5. Troubleshoot perl scripts

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.