-
-
01 Dec 2012 21:33:09 UTC
- Distribution: ETLp
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (2)
- Testers (191 / 142 / 0)
- Kwalitee
Bus factor: 0- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (335.12KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Dan Horne <dan.horne at redbone.co.nz>
- Dependencies
- CGI::Application
- CGI::Application::Plugin::Config::General
- CGI::Application::Plugin::Forward
- CGI::Application::Plugin::HTMLPrototype
- CGI::Application::Plugin::ParsePath
- CGI::Application::Plugin::Redirect
- CGI::Application::Plugin::Session
- CGI::Application::Plugin::TT
- CGI::Application::Plugin::ValidateRM
- CGI::Session
- CGI::Session::Driver::oracle
- Config::General
- Convert::NLS_DATE_FORMAT
- Crypt::PasswdMD5
- Cwd
- DBD::Mock
- DBD::SQLite
- DBI
- DBIx::Class
- DBIx::VersionedDDL
- Data::Page::Navigation
- DateTime::Format::SQLite
- Exception::Class
- File::Basename
- File::Copy
- File::Copy::Recursive
- File::LocalizeNewlines
- File::Path
- File::Slurp
- File::chdir
- IPC::Cmd
- Log::Dispatch::FileRotate
- Log::Log4perl
- Mail::Sendmail
- Math::Base36
- Modern::Perl
- Module::Pluggable
- Moose
- MooseX::Declare
- MooseX::Singleton
- MooseX::Types::DateTime
- Parallel::SubFork
- Test::Class
- Test::More
- Text::CSV
- Text::CSV_XS
- Text::Wrapper
- Time::Piece
- Try::Tiny
- UNIVERSAL::require
- autodie
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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
Module Install Instructions
To install ETLp, copy and paste the appropriate command in to your terminal.
cpanm ETLp
perl -MCPAN -e shell install ETLp
For more information on module installation, please visit the detailed CPAN module installation guide.