home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

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);