The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MooX::StrictConstructor::Role::Constructor - a role to make Moo constructors strict

DESCRIPTION

This role wraps 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.

SEE ALSO

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=MooX-StrictConstructor or by email to bug-MooX-StrictConstructor@rt.cpan.org.

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

George Hartzell <hartzell@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 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.