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

Re: [perl #29851] Problem with Carp and Safe

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
June 3, 2004 02:24
Subject:
Re: [perl #29851] Problem with Carp and Safe
Message ID:
20040603112115.76aa2050@localhost
Rafael Garcia-Suarez wrote:
> Lionel CONS wrote:
> > However, rather than forcing the user to add "require Carp::Heavy" in
> > user scripts before being able to use carp() inside Safe, I would prefer
> > another solution. The main reason being that users may not even know
> > that carp() is used inside Safe (it may be buried way down in the code).
> > Another reason is the messing up of $@ (cf. the "XXX fix require to
> > not clear $@?" comment in the current Carp module).
> 
> Or, we could have Safe require Carp::Heavy, in addition of my patch.
> That way we still keep the lightweight Carp optimisations in place.

Now done as change #22898.

Thread Previous | Thread Next


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