Nephia::Setup::Plugin - Base class of plugin for Nephia::Setup
If you want to create a new plugin for Nephia::Setup, inherit this class.
package Nephia::Setup::Plugin::MyWay; use parent 'Nephia::Setup::Plugin'; sub fix_setup { my $self = shift; $self->SUPER::fix_setup; my $setup = $self->setup; my $chain = $setup->action_chain; ### append feature here ... } sub bundle { qw/ Foo Bar / } ### bundle "Nephia::Setup::Plugin::Foo" and "Nephia::Setup::Plugin::Bar"
Constructor.
Returns a Nephia::Setup instance.
You have to override this method if you want to append some action to Nephia::Setup.
Returns array that contains bundled setup-plugins.
You may override this method when you want to bundle other setup-plugins.
ytnobody <ytnobody@gmail.com>
To install Nephia, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nephia
CPAN shell
perl -MCPAN -e shell install Nephia
For more information on module installation, please visit the detailed CPAN module installation guide.