[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



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.


Dominique
--
http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/
http://www.ohloh.net/accounts/ddumont     -o- http://ddumont.wordpress.com/



Reply to: