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

Re: deprecating

Thread Previous | Thread Next
Nicholas Clark
February 24, 2009 03:45
Re: deprecating
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About