Reference

MooseX::StrictConstructor::Role::Meta::Method::Constructor(3pm)

A role to make immutable constructors strict

NAME

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

VERSION

version 0.10

SYNOPSIS

  Moose::Util::MetaRole::apply_metaroles(
      for_class => $caller,
      class     => {
          constructor =>
              ['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 <[email protected]>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2010 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0