carp msg
msg
Warns of an error; reports the error as having occurred in the calling routine, not in the routine that contains the carp.
carp
Use Carp; carp "text of error message";