KiokuX::Model::Role::Annotations::Annotation - a role for annotation objects
package MyAnnotation; use Moose; with qw(KiokuX::Model::Role::Annotations::Annotation); # to create an annotation: MyAnnotation->new( subject => $object );
This role implements the abstract KiokuX::Model::Role::Annotations::Annotation::API role (which requires just a subject method to return the key object), using an attribute.
subject
A string or an object.
Required.
To install KiokuX::Model::Role::Annotations, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KiokuX::Model::Role::Annotations
CPAN shell
perl -MCPAN -e shell install KiokuX::Model::Role::Annotations
For more information on module installation, please visit the detailed CPAN module installation guide.