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

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


Branch: pkgsrc-2018Q4, Version: 0.21nb2, Package name: p5-MooseX-StrictConstructor-0.21nb2, 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.


Master sites: (Expand)

SHA1: a9693462fe6d623efce6e8759d569db837c96cba
RMD160: fad49f93cf159ab2c362627aec59cd7162778fe2
Filesize: 26.164 KB

Version history: (Expand)