logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

MouseX::StrictConstructor - Make your object constructors blow up on unknown attributes

Author

       Fuji, Goro (gfx) <gfuji(at)cpan.org>

Bugs

       All complex software has bugs lurking in it, and this module is no exception. If you find a bug please
       either email me, or add the bug to cpan-RT.

Description

       Simply loading this module makes your constructors "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.

Name

       MouseX::StrictConstructor - Make your object constructors blow up on unknown attributes

See Also

       Mouse

       Moose

       MooseX::StrictConstructor

Synopsis

         use Mouse;
         use MouseX::StrictConstructor;

See Also