Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.26 CGI::ApacheChapter 8
Standard Modules
Next: 8.28 CGI::Cookie
 

8.27 CGI::Carp

Creates Carp-like CGI routines for writing error messages to the HTTPD or other error log. Exports functions for warn, die, carp, confess, and croak. The functions write timestamped error messages to your server log or other output that you specify. See Section 8.24, "Carp" for details on the Carp functions.

Two other functions are provided by this module. Neither are automatically exported, so you must explicitly import them in use:

use CGI::Carp qw(carpout fatalsToBrowser);


Previous: 8.26 CGI::ApachePerl in a NutshellNext: 8.28 CGI::Cookie
8.26 CGI::ApacheBook Index8.28 CGI::Cookie