I signed up for the Preferred Web Hosting package, and one of the advertised features is Perl-CGI. However, my own Perl scripts always yield the dreaded [an error occurred while processing this directive] when I include them in my .shtml page. They all produce valid output when run from the shell.
Even more puzzling to me is the fact that the cPanel-generated CGI programs work just fine, and produce the expected output both from the shell and my .shtml. I can place my own program side-by-side with the one cPanel generates in both the cgi-bin and scgi-bin directories and my programs will fail every time.
What do I need to do to allow my own custom CGI programs to run?