eris::role::plugin - Common interface for implementing an eris plugin
version 0.006
Sprinkled into other plugins in the eris project to set expectatations for the plugin loaders
package eris::role::context; use Moo::Role; with qw( eris::role::plugin );
The name of the plugin. Defaults to stripping the plugin namespace from the object's class name and replacing '::' withn an underscore.
An integer representing the priority ordering of the plugin in loading, lower priority will appear in the beginning of the plugins list. Defaults to 50.
Boolean indicating if the plugin is enabled by default. Defaults to true. The eris::dictionary::eris::debug uses this set to false to prevent it's data from accidentally entering the default schemas.
The primary namespace for these plugins. This is used to auto_trim it from the plugin's name for simpler config templates.
This is a required parameter.
eris::role::pluggable, eris::role::context, eris::role::decoder, eris::role::dictionary eris::role::schema
Brad Lhotsky <brad@divisionbyzero.net>
This software is Copyright (c) 2015 by Brad Lhotsky.
This is free software, licensed under:
The (three-clause) BSD License
To install eris, copy and paste the appropriate command in to your terminal.
cpanm
cpanm eris
CPAN shell
perl -MCPAN -e shell install eris
For more information on module installation, please visit the detailed CPAN module installation guide.