libmousex-strictconstructor-perl

Mouse extension for making object constructors die on unknown attributes

Description

Simply loading MouseX::StrictConstructor in your Perl package will make your constructor "strict". If your constructor is called with an attribute argument that your class does not declare, then it dies. This is a great way to catch small typos.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/MouseX-StrictConstructor


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libmousex-strictconstructor-perl