X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2FCGI%2FEx%2FDie.pm;h=a87f50097e7348cc2bbf17c3b21ffa15373fbbbe;hb=a9adfe5a3786f860510fcf10792958a25e1a7727;hp=a3787af8a1d0aff96e9634f7b0b4b922f5ef7a17;hpb=85070b46d0a93ddbeef07341421adb8389a55418;p=chaz%2Fp5-CGI-Ex diff --git a/lib/CGI/Ex/Die.pm b/lib/CGI/Ex/Die.pm index a3787af..a87f500 100644 --- a/lib/CGI/Ex/Die.pm +++ b/lib/CGI/Ex/Die.pm @@ -1,7 +1,19 @@ package CGI::Ex::Die; +=head1 NAME + +CGI::Ex::Die - A CGI::Carp::FatalsToBrowser type utility. + +=cut + +###----------------------------------------------------------------### +# Copyright 2007 - Paul Seamons # +# Distributed under the Perl Artistic License without warranty # +###----------------------------------------------------------------### + use strict; -use vars qw($no_recurse +use vars qw($VERSION + $no_recurse $EXTENDED_ERRORS $SHOW_TRACE $IGNORE_EVAL $ERROR_TEMPLATE $LOG_HANDLER $FINAL_HANDLER @@ -11,6 +23,7 @@ use CGI::Ex; use CGI::Ex::Dump qw(debug ctrace dex_html); BEGIN { + $VERSION = '2.20'; $SHOW_TRACE = 0 if ! defined $SHOW_TRACE; $IGNORE_EVAL = 0 if ! defined $IGNORE_EVAL; $EXTENDED_ERRORS = 1 if ! defined $EXTENDED_ERRORS; @@ -151,10 +164,6 @@ sub die_handler { __END__ -=head1 NAME - -CGI::Ex::Die - A CGI::Carp::FatalsToBrowser type utility. - =head1 SYNOPSIS use CGI::Ex::Die; @@ -171,8 +180,12 @@ the developer, should errors occur. This is a stub phase module. More features (error notification, custom error page, etc) will be added later. +=head1 LICENSE + +This module may distributed under the same terms as Perl itself. + =head1 AUTHORS -Paul Seamons +Paul Seamons =cut