MooseX::StrictConstructor::Role::Meta::Method::Constructor.3pm

Langue: en

Autres versions - même langue

Version: 2010-09-09 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

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

VERSION

version 0.11

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 <autarch@urth.org>
 
 
This software is Copyright (c) 2010 by Dave Rolsky.

This is free software, licensed under:

   The Artistic License 2.0