NAME

Data::Object::Rule

ABSTRACT

Data-Object Rule Declaration

SYNOPSIS

package Persona;

use Data::Object::Rule;

requires 'id';
requires 'fname';
requires 'lname';
requires 'created';
requires 'updated';

1;

DESCRIPTION

This package modifies the consuming package making it a Moo role, and is used to allow you to specify rules for the consuming class. There is functionally no difference between a role and a rule, so this concept only exists to differentiate between that which describes an interface (rules) and that which mixes-in behaviors. This package inherits all behavior from Moo::Role.

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

PROJECT

On GitHub

Initiatives

Contributing

Reporting

SEE ALSO

To get the most out of this distribution, consider reading the following:

Data::Object::Class

Data::Object::Role

Data::Object::Rule

Data::Object::Library

Data::Object::Signatures