Carp-Proxy
NAME
Carp::Proxy - Diagnostic delegation
SYNOPSIS
use Carp::Proxy;
fatal 'handler_subroutine', @optional_arguments
if not $assertion;
sub handler_subroutine {
my( $proxy_object, @optional_arguments ) = @_;
$proxy_object->filled( 'explanation' );
return;
}
DESCRIPTION
Carp::Proxy is a framework for throwing exceptions. The goal is to
couple the small lexical footprint of the die() statement with support
for comprehensive error messages. Good diagnostics pay for themselves;
let's make them easier to produce.
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc Carp::Proxy
You can also look for information at:
RT, CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Carp-Proxy
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Carp-Proxy
CPAN Ratings
http://cpanratings.perl.org/d/Carp-Proxy
Search CPAN
http://search.cpan.org/dist/Carp-Proxy/
LICENSE AND COPYRIGHT
Copyright (C) 2014 Paul Liebert
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.