MooseX::SlurpyConstructor::Role::Object - A role which implements a slurpy constructor for Moose::Object
version 1.2
Moose::Util::MetaRole::apply_base_class_roles( for_class => $caller, roles => ['MooseX::SlurpyConstructor::Role::Object'], );
When you use MooseX::SlurpyConstructor, your objects will have this role applied to them. It provides a method modifier for BUILDALL() from Moose::Object that saves all unrecognized attributes.
MooseX::SlurpyConstructor
BUILDALL()
Moose::Object
Mark Morgan <makk384@gmail.com>
Karen Etheridge <ether@cpan.org>
This software is copyright (c) 2011 by Karen Etheridge.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install MooseX::SlurpyConstructor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::SlurpyConstructor
CPAN shell
perl -MCPAN -e shell install MooseX::SlurpyConstructor
For more information on module installation, please visit the detailed CPAN module installation guide.