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

NAME

ETLp::Plugin - The base class for ETLp plugins

DESCRIPTION

All Plugins should inherit from this class:

    use MooseX::Declare;
    class My::ETLp::Plugin::WebService extends ETLp::Plugin {
        sub type {
            return 'my_web_service';
        }
        
        method run {
            .... <<code>> ....
        }
    }
    

Any plugins must provide the following methods

type

This should simply return the item type that the plugin seeks to service. Note that the MooseX::Declare "method" keyword should bot be used

run

This is the code that performs the functionality of the plugin. If it is an iterative plugin, it must accept the name of a file:

    method run(Str $filename) {
        .... <<code>> ....
    }

LICENSE AND COPYRIGHT

Copyright 2010 Redbone Systems Ltd

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

The terms are in the LICENSE file that accompanies this application