Rechercher une page de manuel
MooseX::StrictConstructor::Role::Object.3pm
Langue: en
Version: 2009-02-26 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
MooseX::StrictConstructor::Role::Object - A role which implements a strict constructor for Moose::ObjectSYNOPSIS
Moose::Util::MetaRole::apply_base_class_roles ( for_class => $caller, roles => [ 'MooseX::StrictConstructor::Role::Object' ], );
DESCRIPTION
When you use "MooseX::StrictConstructor", your objects will have this role applied to them. It provides a method modifier for "BUILDALL()" from "Moose::Object" that implements strict argument checking for your class.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