Test::Valgrind::Carp - Carp-like private methods for Test::Valgrind objects.


Test-Valgrind documentation Contained in the Test-Valgrind distribution.

Index


Code Index:

NAME

Top

Test::Valgrind::Carp - Carp-like private methods for Test::Valgrind objects.

VERSION

Top

Version 1.12

DESCRIPTION

Top

This class only provides a _croak method that lazily requires Carp and then croaks with the supplied message.

The class should not be used outside from Test::Valgrind and may be removed without notice.

SEE ALSO

Top

Test::Valgrind.

AUTHOR

Top

Vincent Pit, <perl at profvince.com>, http://www.profvince.com.

You can contact me by mail or on irc.perl.org (vincent).

BUGS

Top

Please report any bugs or feature requests to bug-test-valgrind at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Test::Valgrind::Carp

COPYRIGHT & LICENSE

Top


Test-Valgrind documentation Contained in the Test-Valgrind distribution.
package Test::Valgrind::Carp;

use strict;
use warnings;

our $VERSION = '1.12';

sub _croak {
 shift;
 require Carp;
 local $Carp::CarpLevel = ($Carp::CarpLevel || 0) + 1;
 Carp::croak(@_);
}

1; # End of Test::Valgrind::Carp