Rechercher une page de manuel
MooseX::StrictConstructor::Role::Meta::Method::Constructor.3pm
Langue: en
Version: 2009-02-26 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
MooseX::StrictConstructor::Role::Meta::Method::Constructor - A role to make immutable constructors strictSYNOPSIS
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre