Method::Generate::Constructor::Role::StrictConstructor - a role to make Moo constructors strict.
version 0.008
This role wraps "_assign_new" in Method::Generate::Constructor with a bit of code that ensures that all arguments passed to the constructor are valid init_args for the class.
This code would not exist without the examples in MooX::InsideOut and MooseX::StrictConstructor.
MooX::InsideOut
MooseX::StrictConstructor
George Hartzell <hartzell@cpan.org>
This software is copyright (c) 2015 by George Hartzell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install MooX::StrictConstructor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooX::StrictConstructor
CPAN shell
perl -MCPAN -e shell install MooX::StrictConstructor
For more information on module installation, please visit the detailed CPAN module installation guide.