Attean::API::Example - Example Role
This document describes Attean::API::Example version 0.007
use v5.14;
use Attean;
This is a Moo role that is consumed by certain classes. It defines the required methods for doing something, and provides default functionality.
This role consumes the Attean::API::Foo, and Attean::API::Bar roles which provide the following methods:
foo($bar)
The following attributes exist:
name
-
A string representing a name of some sort.
Classes consuming this role must provide the following methods:
bar($baz)
-
Computes a value based on
$baz
and returns it as a string.
This role provides default implementations of the following methods:
do_something()
-
Perform some action.
Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/attean/issues.
Gregory Todd Williams <[email protected]>
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.