1MouseX::StrictConstructUosre(r3)Contributed Perl DocumenMtoautsieoXn::StrictConstructor(3)
2
3
4
6 MouseX::StrictConstructor - Make your object constructors blow up on
7 unknown attributes
8
10 use Mouse;
11 use MouseX::StrictConstructor;
12
14 Simply loading this module makes your constructors "strict". If your
15 constructor is called with an attribute argument that your class does
16 not declare, then it dies. This is a great way to catch small typos.
17
19 All complex software has bugs lurking in it, and this module is no
20 exception. If you find a bug please either email me, or add the bug to
21 cpan-RT.
22
24 Mouse
25
26 Moose
27
28 MooseX::StrictConstructor
29
31 Fuji, Goro (gfx) <gfuji(at)cpan.org>
32
34 Copyright (c) 2010, Fuji, Goro (gfx). All rights reserved.
35
36 This library is free software; you can redistribute it and/or modify it
37 under the same terms as Perl itself.
38
39
40
41perl v5.32.0 2020-07-28 MouseX::StrictConstructor(3)