develooper Front page | perl.perl5.porters | Postings from May 2004

Re: [PATCH] Fix anomalies in Carp functions

Thread Previous
From:
Rafael Garcia-Suarez
Date:
May 31, 2004 03:12
Subject:
Re: [PATCH] Fix anomalies in Carp functions
Message ID:
20040531120956.0e81eaaf@localhost
Steve Hay wrote:
...
> My confusion arose from the fact that carp() sometimes *does* suppress 
> the extra message, and cluck() always suppresses the extra bit (though 
> not the stacktrace).  The same situation arises w.r.t. croak() and 
> confess().  This can all be seen from the attached foo.pl script and 
> Foo.pm module.
> 
> The attached patch irons out these oddities, and adjusts a couple of 
> tests that are affected.

Thanks, applied as #22876.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About