Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   Bug#617937: ITP: libmousex-strictconstructor-perl -- Make your object constructors blow up on unknown attributes (http://www.linux-archive.org/debian-development/500492-bug-617937-itp-libmousex-strictconstructor-perl-make-your-object-constructors-blow-up-unknown-attributes.html)

Dominique Dumont 03-12-2011 05:17 PM

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/



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201103121917.55793.domi.dumont@free.fr">http://lists.debian.org/201103121917.55793.domi.dumont@free.fr


All times are GMT. The time now is 04:34 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.