Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

Troubleshoot perl scripts

Solution

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.

 

Share on Twitter
Share on Facebook