Method::Generate::Constructor::Role::StrictConstructor3pm
A role to make moo constructors strict.
Version
version 0.011
Overview
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.
Standing on the shoulders of ...
This code would not exist without the examples in MooX::InsideOut and MooseX::StrictConstructor.
Copyright and license
This software is copyright (c) 2020 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.
Releases
5 releases since Debian 9 (Stretch); the text changed 3 times.