blob: 1205f98611fafafe3da92b819cb39b35ffe3f606 (
plain) (
blame)
1
2
3
4
5
6
|
Simply loading the MooseX::StrictConstructor 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.
WWW: https://metacpan.org/release/MooseX-StrictConstructor
|