
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.

Dave Rolsky, <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.