| Previous | Next
CarpProvides routines for generating error messages. Its subroutines generally report errors from the perspective of the calling program. It has the following functions.
carp msg Warns of an error; reports the error as having occurred in the calling routine, not in the routine that contains the Use Carp; carp "
cluck msg Warns of errors and prints a stack backtrace; reports the error as having occurred in the calling routine. Not exported by default. use Carp qw(cluck); cluck "
confess msg Dies and prints a stack backtrace. Reports the error as having occurred at the point where
croak msg Dies and reports error as having occurred in the calling routine. |