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

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


Branch: pkgsrc-2022Q1, Version: 0.21nb5, Package name: p5-MooseX-StrictConstructor-0.21nb5, 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)

Filesize: 26.164 KB

Version history: (Expand)