The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dist::Zilla::Role::Plugin - something that gets plugged in to Dist::Zilla

VERSION

version 1.100520

DESCRIPTION

The Plugin role should be applied to all plugin classes. It provides a few key methods and attributes that all plugins will need.

ATTRIBUTES

plugin_name

The plugin name is generally determined when configuration is read. It is initialized by the =name argument to the plugin's constructor.

zilla

This attribute contains the Dist::Zilla object into which the plugin was plugged.

METHODS

log

The plugin's log method delegates to the Dist::Zilla object's "log" in Dist::Zilla method.

AUTHOR

  Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.