./devel/p5-MooseX-StrictConstructor, Make your object constructors blow up on unknown attributes

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2013Q2, Version: 0.16nb2, Package name: p5-MooseX-StrictConstructor-0.16nb2, Maintainer: pkgsrc-users

Simply loading this module makes your constructors "strict". If
your constructor is called with an attribute init argument that
your class does not declare, then it calls "Carp::confess()". This
is a great way to catch small typos.


Required to build:
[devel/p5-Test-Simple]

Master sites: (Expand)

SHA1: 42f15291eea08a1f5c02fa2bf4a534452518d778
RMD160: ab68222c47023e9cea1423e3a5154b3c99418fb8
Filesize: 10.513 KB

Version history: (Expand)