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

Re: deprecating Switch.pm

Thread Previous | Thread Next
From:
Sue Spence
Date:
April 16, 2009 04:15
Subject:
Re: deprecating Switch.pm
Message ID:
ef02abe10904160156x58f08b03s4a2372466474af90@mail.gmail.com
2009/4/16 Steffen Mueller <wyp3rlx02@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.
>
>
Can you drop the "where possible", as it is always possible to avoid using
it?

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