NAME

MooX::StrictConstructor::Role::Constructor::Late - a role to make Moo constructors strict at the end of construction

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. The check is done at the end of construction, allowing BUILD methods to delete parameters to exempt them from the strict checks.

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.