MouseX::StrictConstructor - Make your object constructors blow up on unknown attributes
Contents
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.
Copyright And License
Copyright (c) 2010, Fuji, Goro (gfx). All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl
itself.
perl v5.36.0 2022-12-11 MouseX::StrictConstructor(3pm)
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;
