[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#580059: ITP: libswitch-perl -- A switch statement for Perl



Hi Makholm

On Mon, May 03, 2010 at 02:48:59PM +0200, Peter Makholm wrote:
> > * Package name    : libswitch-perl
> >   Version         : 2.16
> >   Upstream Author : Damian Conway <damian@conway.org>
> > * URL             : http://search.cpan.org/dist/Switch/
> > * License         : Perl
> >   Programming Lang: Perl
> >   Description     : A switch statement for Perl
> >
> > The Switch.pm module implements a generalized case mechanism that covers many
> > possible combinations of switch and case values.
> 
> 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

Bests
Salvatore

Attachment: signature.asc
Description: Digital signature


Reply to: