Dist::Zilla::Role::ModuleMaker - something that injects module files into the dist


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

Index


Code Index:

NAME

Top

Dist::Zilla::Role::ModuleMaker - something that injects module files into the dist

VERSION

Top

version 4.200008

DESCRIPTION

Top

Plugins implementing this role have their make_module method called for each module requesting creation by the plugin with this name. It is passed a hashref with the following data:

  name - the name of the module to make (a MooseX::Types::Perl::ModuleName)

Classes composing this role also compose FileInjector and are expected to inject a file for the module being created.

AUTHOR

Top

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

package Dist::Zilla::Role::ModuleMaker;
BEGIN {
  $Dist::Zilla::Role::ModuleMaker::VERSION = '4.200008';
}
# ABSTRACT: something that injects module files into the dist
use Moose::Role;
with qw(
  Dist::Zilla::Role::Plugin
  Dist::Zilla::Role::FileInjector
);


requires 'make_module';

no Moose::Role;
1;

__END__