Carp-Capture

 view release on metacpan or  search on metacpan

.perlcriticrc  view on Meta::CPAN

[-Subroutines::RequireArgUnpacking]
[-Subroutines::ProhibitExplicitReturnUndef]
[-Subroutines::ProhibitSubroutinePrototypes]
[-TestingAndDebugging::ProhibitNoStrict]
[-ValuesAndExpressions::ProhibitEmptyQuotes]
[-ValuesAndExpressions::ProhibitNoisyQuotes]
[-ValuesAndExpressions::RequireConstantVersion]
[-ValuesAndExpressions::RequireInterpolationOfMetachars]

[Documentation::RequirePodSections]
lib_sections = BUGS AND LIMITATIONS | DEPENDENCIES | DESCRIPTION | EXPORTS | LICENSE AND COPYRIGHT | METHODS | NAME | SEE ALSO | SUPPORT | SYNOPSIS

lib/Carp/Capture.pm  view on Meta::CPAN


    $cc->disable;

    # Prints "Off"
    say $uncaptured == $cc->capture ? 'Off' : 'On';

The Uncaptured value might also be useful as a default in a data structure.
Capturing can be gated with a conditional that overwrites the default when
active.

=head1 BUGS AND LIMITATIONS

Please report any bugs or feature requests to C<bug-carp-capture at
rt.cpan.org>, or through the web interface at

L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Carp-Capture>.

I will be notified, and then you'll automatically be notified of
progress on your bug as I make changes.

=head1 SUPPORT



( run in 0.243 second using v1.01-cache-2.11-cpan-4d50c553e7e )