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

Bug#617937: ITP: libmousex-strictconstructor-perl -- Make your object constructors blow up on unknown attributes



Hello,

On Sat, Mar 12, 2011 at 07:17:55PM +0100, Dominique Dumont wrote:
> 
> Package: wnpp
> Owner: Dominique Dumont <domi.dumont@free.fr>
> Severity: wishlist
> X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org
> 
> * Package name    : libmousex-strictconstructor-perl
>   Version         : 0.02
>   Upstream Author : Fuji, Goro (gfx) <gfuji(at)cpan.org>
> * URL             : http://search.cpan.org/dist/MouseX-StrictConstructor/
> * License         : Artistic or GPL-1+
>   Programming Lang: Perl
>   Description     : Make your object constructors blow up on unknown 
> attributes
> 
> Simply loading this module makes your constructors "strict". If your
> constructor is called with an attribute argument that your class does not
> declare, then it dies. This is a great way to catch small typos.

please mention in the package description that this applies to the
perl programming language (as I suppose it does).

-Ralf.



Reply to: