Module::Setup::Plugin - Module::Setup Plugin
config setup Module::Setup::Plugin::Config::Basic
module attribute setup Module::Setup::Plugin::VC::SVN
template parameters setup
add module template file for new module Module::Setup::Plugin::VC::Git
for template process Module::Setup::Plugin::Template
for distribute path rewrite phase
for test L<Module::Setup::Plugin::Test::Makefile>
after create_skeleton
last trigger of run method on skeleton directory
last hook of run method Module::Setup::Plugin::VC::SVK
~/.module-setup/flavor/myflavor/plugins/plugin.pm package MyFlavor::Plugin; use strict; use warnings; use base 'Module::Setup::Plugin';
sub register { my($self, ) = @_; $self->add_trigger( check_skeleton_directory => \&check_skeleton_directory ); } sub check_skeleton_directory { my $self = shift; }
~/.module-setup/flavor/myflavor/config.yaml
config: plugins: - Config::Basic - VC::SVN - Template - Test::Makefile - +MyFlavor::Plugin
or command option
$ module-setup --plugin=+MyFlavor::Plugin New::Module
To install Module::Setup, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Setup
CPAN shell
perl -MCPAN -e shell install Module::Setup
For more information on module installation, please visit the detailed CPAN module installation guide.