MooseX::StrictConstructor::Role::Meta::Method::Constructor - A role to make immutable constructors strict
Moose::Util::MetaRole::apply_metaclass_roles ( for_class => $caller, constructor_class_roles => ['MooseX::StrictConstructor::Role::Meta::Method::Constructor'], );
This role simply wraps _generate_BUILDALL() (from Moose::Meta::Method::Constructor) so that immutable classes have a strict constructor.
_generate_BUILDALL()
Moose::Meta::Method::Constructor
Dave Rolsky, <autarch@urth.org>
<autarch@urth.org>
Copyright 2007-2008 Dave Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install MooseX::StrictConstructor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::StrictConstructor
CPAN shell
perl -MCPAN -e shell install MooseX::StrictConstructor
For more information on module installation, please visit the detailed CPAN module installation guide.