Fukurama::Class::Carp - Carp-Adapter to easy extend the carp-level
Version 0.01 (beta)
use Fukurama::Class::Carp; sub foo { bar(); } sub bar { baz(); } sub baz { # would croak in foo() croak('its not my fault', 1); }
This module provides a simple method to change the $Carp::CarpLevel locally. This is a helperclass for Fukurama::Class.
-
It's like Carp::carp(). It will warn about an error in the callers context. But you can increase the carp-level with a parameter
It's like Carp::croak(). It will die an error in the callers context. But you can increase the carp-level with a parameter
see perldoc of Fukurama::Class
To install Fukurama::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Fukurama::Class
CPAN shell
perl -MCPAN -e shell install Fukurama::Class
For more information on module installation, please visit the detailed CPAN module installation guide.