Make your object constructors blow up on unknown attributes

Edit Package perl-MooseX-StrictConstructor
http://search.cpan.org/dist/MooseX-StrictConstructor/

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.

Refresh
Refresh
Source Files
Filename Size Changed
MooseX-StrictConstructor-0.10.tar.gz 0000010296 10.1 KB
perl-MooseX-StrictConstructor.changes 0000000153 153 Bytes
perl-MooseX-StrictConstructor.spec 0000001800 1.76 KB
Revision 2 (latest revision is 13)
Pascal Bleser's avatar Pascal Bleser (pbleser) committed (revision 2)
only run tests on >= 11.2
Comments 0
openSUSE Build Service is sponsored by