Files
ports/devel/p5-MooseX-StrictConstructor/pkg-descr
T
2026-10-04 04:07:15 +00:00

5 lines
257 B
Plaintext

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.