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

Previous: 8.26 CGI::Apache Perl in a Nutshell Next: 8.28 CGI::Cookie
8.26 CGI::Apache Book Index 8.28 CGI::Cookie

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.