develooper Front page | perl.perl5.porters | Postings from February 2009

Re: deprecating Switch.pm

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
February 24, 2009 03:45
Subject:
Re: deprecating Switch.pm
Message ID:
20090224114543.GF81285@plum.flirble.org
On Tue, Feb 24, 2009 at 11:13:55AM -0000, Robin Barker wrote:
> 
> > Shall we use 'deprecated' as the name for this warning? It is already in
> > use and it is off by default. If we change that, users may get loads of
> > warnings they don't get yet.
> 
> We could separate deprecated into deprecated_code and deprecated_module
> and have deplacated_code DEFAULT_OFF and deprecated_module DEFAULT_ON

Yes, something like that was what I envisaged. A class of warnings for
module deprecations that defaults to on, and the behaviour of existing
modules is unchanged.

Nicholas Clark

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