[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

If you're getting script errors ....



If you're getting script errors, sometimes you can get more useful
diagnostic
information by adding "use CGI::Carp qw(fatalsToBrowser);" to the .pl file
for which the error occurs.
This causes error information that might only be written to the server's
error log file to be displayed by a web browser.
Example:
#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser);  # this line added
use lib 'lib';

Follow-Ups from:
Gunnar Hjalmarsson <hjalmarsson@email.com>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]