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

Re: deprecating Switch.pm

Thread Previous | Thread Next
From:
Steffen Mueller
Date:
April 16, 2009 00:51
Subject:
Re: deprecating Switch.pm
Message ID:
49E6E36D.5010608@sneakemail.com
Hi Dave,

Dave Mitchell wrote:
> How about I add the following entry to the 5.10.1 delta?:
> 
>     =head1 Deprecations
> 
>     The following items are now deprecated.
> 
>     =over
> 
>     =item *
> 
>     C<Switch> is buggy and should be avoided where possible. From perl 5.11.0
>     onwards it is intended that any use of the core version of this module
>     will emit a warning, and that the module will eventually be removed from
>     the core (probably in perl 5.14.0).
> 
> By putting it in perl5101delta.pod, it gives more advanced notice
> (assuming 5.10.1 is released before 5.12.0 ;-)

absolutely gets my vote. Early warnings are always good.

Cheers,
Steffen

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