In the Carp man pages it states that croak and confess do...
croak - die of errors (from perspective of caller)
confess - die of errors with stack backtrace
but I don't see any difference in how they work.
I wrote a little test program as follows...
use Carp;
print "test1\n";
eval {
Erick Nelson wrote:
>
> In the Carp man pages it states that croak and confess do...
> croak - die of errors (from perspective of caller)
> confess - die of errors with stack backtrace
>
> but I don't see any difference in how they work.
>
> I wrote a little test program as follows.