aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Carp
Commit message (Collapse)AuthorAgeFilesLines
* - Update to 1.26Sunpoet Po-Chuan Hsieh2012-06-182-3/+3
| | | | | | | Changes: http://search.cpan.org/dist/Carp/Changes Notes: svn path=/head/; revision=299572
* - Add p5-Carp 1.25Sunpoet Po-Chuan Hsieh2012-04-024-0/+36
The Carp routines are useful in your own modules because they act like die() or warn(), but with a message which is more likely to be useful to a user of your module. In the case of cluck, confess, and longmess that context is a summary of every call in the call-stack. For a shorter message you can use carp or croak which report the error as being from where your module was called. There is no guarantee that that is where the error was, but it is a good educated guess. WWW: http://search.cpan.org/dist/Carp/ Feature safe: yes Notes: svn path=/head/; revision=294116