See Re^4: Should I use carp/croak or warn/die (@CARP_NOT)
Though I'm not happy about the documentation.
the Synopsis says
> warn user (from perspective of _caller_)
But later the doc says inside the text
> carp() or croak() which report the error as being from where your module was called.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: Should I use carp/croak or warn/die
by LanX
in thread Should I use carp/croak or warn/die
by SBECK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |