develooper Front page | perl.perl5.porters | Postings from July 2001

Re: [PATCH B::Deparse] Make warnings handling more robust

Thread Previous | Thread Next
Graham Barr
July 5, 2001 11:24
Re: [PATCH B::Deparse] Make warnings handling more robust
Message ID:
On Thu, Jul 05, 2001 at 07:19:46PM +0100, Robin Houston wrote:
> Mike Guy wrote:
> > That seems to be a lot of work just to achieve a pessimised version of
> > use constant WARN_MASK => $warnings::Bits{all} | $warnings::DeadBits{all};
> No no no! L<warnings::register> actually changes the value of those
> variables; the point is that I want the value *before* warnings::register
> has messed with them. Or are you misunderstanding how "use constant"
> works?

I don't think he does. What you had and what Mike wrote should have identical


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About