Scroll to navigation

MooX::StrictConstructor::Role::Constructor(3) User Contributed Perl Documentation MooX::StrictConstructor::Role::Constructor(3)

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

MooseX::StrictConstructor

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 <mailto: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.

2024-10-19 perl v5.40.0