App::Spec::Role::Plugin - Main role for App::Spec plugins
Will be called with the plugin object/class and an App::Spec::Run object as parameters.
my ($self, $run) = @_;
You can then use the subscribe method of App::Spec::Run to subscribe to certain events.
subscribe
To install App::Spec, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Spec
CPAN shell
perl -MCPAN -e shell install App::Spec
For more information on module installation, please visit the detailed CPAN module installation guide.