Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.24 CarpChapter 8
Standard Modules
Next: Reference: cluck
 

carp

carp msg

Warns of an error; reports the error as having occurred in the calling routine, not in the routine that contains the carp.

Use Carp;
carp "text of error message";


Previous: 8.24 CarpPerl in a NutshellNext: Reference: cluck
8.24 CarpBook IndexReference: cluck