Re: Bug#580059: ITP: libswitch-perl -- A switch statement for Perl
On Mon, May 03, 2010 at 03:27:47PM +0200, Salvatore Bonaccorso wrote:
> > Is there a sane reason for wanting to include this?
> > For perl 5.10 and later you have the given/when statement which does
> > the same in a much less fragile way. Please don't write new code using
> > Switch.pm module.
> > At least add a big warning in the description that this is a obsolete
> > module and using given/when with perl 5.10 is very much prefered.
> I think the rationale about packaging this separately is that one
> which is discussed by Nico Tyni in http://bugs.debian.org/580034
Yes, and I should have referenced that in the ITPs, sorry.
I realise that these modules are likely to be less useful given that
they're being taken out of core, but they may still be needed. In fact
I plan to survey packages depending on perl in order to find out the
scope of usage; if it's very low and packages can be fixed, maybe we
can avoid packaging them all separately.
Peter, thanks for the feedback.
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)