MooseX::StrictConstructor::Role::Meta::Method::Constructor - A role to make immutable constructors strict
version 0.11
Moose::Util::MetaRole::apply_metaroles( for_class => $caller, class => { constructor => ['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>
This software is Copyright (c) 2010 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0
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.