2008-10-24 19:01:09 +02:00
|
|
|
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.
|
|
|
|
|
2014-05-25 14:40:01 +02:00
|
|
|
WWW: http://search.cpan.org/dist/MooseX-StrictConstructor/
|