Path to this page:
./
devel/p5-MooseX-StrictConstructor,
Make your object constructors blow up on unknown attributes
Branch: CURRENT,
Version: 0.21nb8,
Package name: p5-MooseX-StrictConstructor-0.21nb8,
Maintainer: pkgsrc-usersSimply 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 run:[
lang/perl5] [
devel/p5-Moose]
Required to build:[
devel/p5-Test-Exception] [
devel/p5-Package-DeprecationManager] [
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 26.164 KB
Version history: (Expand)
- (2024-11-16) Updated to version: p5-MooseX-StrictConstructor-0.21nb8
- (2023-07-06) Updated to version: p5-MooseX-StrictConstructor-0.21nb7
- (2022-06-28) Updated to version: p5-MooseX-StrictConstructor-0.21nb6
- (2021-05-25) Updated to version: p5-MooseX-StrictConstructor-0.21nb5
- (2020-09-01) Updated to version: p5-MooseX-StrictConstructor-0.21nb4
- (2019-08-11) Updated to version: p5-MooseX-StrictConstructor-0.21nb3
CVS history: (Expand)