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

BLACK

FRIDAY

DEALS

UP TO 60% OFF
Friday November 27th starts at 9am EST.
While supplies last!