[San-Diego-pm] Help!

Brian Manning elspicyjack at gmail.com
Fri Jun 16 06:09:24 PDT 2017


> On Jun 15, 2017, at 12:00, Joel Fentin <joel at fentin.com> wrote:
> 
> Here is the code that use to work:
> 
> #!/usr/bin/perl -w
> 
> use strict;use CGI;
> BEGIN{use CGI::Carp qw(carpout fatalsToBrowser);carpout(\*STDOUT);$|=1;}
> 
> If I comment the line that starts with:
> BEGIN
> The page displays normally. But if I uncomment it, I get a blank page. Errors don't print. I use to see errors.
> 
> BlueHost has made a change to some version of something. They couldn't seem to tell me what. The above program and others didn't change. They simply stopped working.
> 
> The site is currently working with that line commented everywhere.
> 
> I have no idea what's at work here.
> 

The web server error logs might have some info about what's wrong;  do you have access to it?

FYI, the CGI module is no longer part of core Perl, so modules in the "CGI" namespace may not be installed on your system, depending on which version(s) of Perl you have available to you.

Thanks,

Brian


More information about the San-Diego-pm mailing list