Data::Object::Rule

Data-Object Rule Declaration

package Persona;

use Data::Object::Rule;

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

1;

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.

4 POD Errors

The following errors were encountered while parsing the POD:

Around line 8:

Unknown directive: =name

Around line 12:

Unknown directive: =abstract

Around line 16:

Unknown directive: =synopsis

Around line 30:

Unknown directive: =description