NAME

Carp::Source - warn of errors with stack backtrace and source context

SYNOPSIS

use Carp::Source 'source_cluck';
source_cluck 'some error';

DESCRIPTION

This module exports one function, source_cluck(). It is like Carp's cluck(), but it also displays the source code context of all call frames, with three lines before and after each call being shown, and the call being highlighted.

This is just a quick hack - not all of Carp's or even just cluck()'s features are present. The code borrows heavily from Carp.

TAGS

If you talk about this module in blogs, on del.icio.us or anywhere else, please use the carpsource tag.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to bug-carp-source@rt.cpan.org, or through the web interface at http://rt.cpan.org.

INSTALLATION

See perlmodinstall for information and options on installing Perl modules.

AVAILABILITY

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find a CPAN site near you. Or see <http://www.perl.com/CPAN/authors/id/M/MA/MARCEL/>.

AUTHOR

Marcel Grünauer, <marcel@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2007 by Marcel Grünauer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.