Dave Rolsky > MooseX-StrictConstructor > MooseX::StrictConstructor::Role::Meta::Method::Constructor

Download:
MooseX-StrictConstructor-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View Bugs
Report a bug
Source  

NAME ^

MooseX::StrictConstructor::Role::Meta::Method::Constructor - A role to make immutable constructors strict

SYNOPSIS ^

  Moose::Util::MetaRole::apply_metaclass_roles
      ( for_class => $caller,
        constructor_class_roles =>
        ['MooseX::StrictConstructor::Role::Meta::Method::Constructor'],
      );

DESCRIPTION ^

This role simply wraps _generate_BUILDALL() (from Moose::Meta::Method::Constructor) so that immutable classes have a strict constructor.

AUTHOR ^

Dave Rolsky, <autarch@urth.org>

COPYRIGHT & LICENSE ^

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.