freebsd-ports/devel/p5-MooseX-StrictConstructor/pkg-descr
Greg Larkin cdadd69497 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:	http://search.cpan.org/dist/MooseX-StrictConstructor/
2008-10-24 17:01:09 +00:00

6 lines
320 B
Text

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: http://search.cpan.org/dist/MooseX-StrictConstructor/