[Perl-unix-users] Carp.pm: difference between croak and confess?

2001-09-05 Thread Erick Nelson
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 {

Re: [Perl-unix-users] Carp.pm: difference between croak and confess?

2001-09-05 Thread $Bill Luebkert
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.