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

NAME

Nephia::Plugin - Base Class of Nephia Plugin

DESCRIPTION

This class is a base class of Nephia Plugin.

If you want to create a plugin for Nephia, your plugin have to inherit it.

METHODS

app

    my $app = $self->app; 

Returns application-class object.

exports

    sub exports {
        return qw/exportee of your plugin/;
    }

Specifier for target of exports.

You have to override it if you want to export some DSL.

needs

    sub needs {
        return qw/PluginA PluginB/;
    }

Specifier for needs plugins.

requires

    sub requires {
        return qw/dsl_a dsl_b/;
    }

Specifier for required DSLs.

AUTHOR

ytnobody <ytnobody@gmail.com>

SEE ALSO

Nephia::Plugin