Reference

MooseX::StrictConstructor::Role::Object(3pm)

A role which implements a strict constructor for Moose::Object

NAME

MooseX::StrictConstructor::Role::Object - A role which implements a strict constructor for Moose::Object

VERSION

version 0.10

SYNOPSIS

  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 <[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