Skip to content

Instantly share code, notes, and snippets.

@kasei
Last active August 29, 2015 14:27
Show Gist options
  • Save kasei/3367d8b2d34eb059571f to your computer and use it in GitHub Desktop.
Save kasei/3367d8b2d34eb059571f to your computer and use it in GitHub Desktop.
Attean POD template for roles

NAME

Attean::API::Example - Example Role

VERSION

This document describes Attean::API::Example version 0.007

SYNOPSIS

use v5.14;
use Attean;

DESCRIPTION

This is a Moo role that is consumed by certain classes. It defines the required methods for doing something, and provides default functionality.

ROLES

This role consumes the Attean::API::Foo, and Attean::API::Bar roles which provide the following methods:

foo($bar)

ATTRIBUTES

The following attributes exist:

name

A string representing a name of some sort.

REQUIRED METHODS

Classes consuming this role must provide the following methods:

bar($baz)

Computes a value based on $baz and returns it as a string.

METHODS

This role provides default implementations of the following methods:

do_something()

Perform some action.

BUGS

Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/attean/issues.

SEE ALSO

http://www.perlrdf.org/

AUTHOR

Gregory Todd Williams <[email protected]>

COPYRIGHT

Copyright (c) 2014 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment