|
NAMEApp::RunCron::Reporter - base class for reporters of App::RunCronSYNOPSISpackage App::RunCron::Reporter::Blah; use parent 'App::RunCron::Reporter'; sub run { my ($self, $runcron) = @_; my $report = $runcron->report; ... } DESCRIPTIONApp::RunCron::Reporter is a base class for reporters of App::RunCron.INTERFACESupporting duck typing so, Reporter classes not need to be inherited App::RunCron::Reporter. Only two methods should be implemented."my $reporter = $class->new($args:HashRef)" Constructor method. "$reporter->run($runcron:App::RunCron)" Main process of reporter which accepts App::RunCron object. LICENSECopyright (C) Songmu.This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. AUTHORSongmu <y.songmu@gmail.com>
Visit the GSP FreeBSD Man Page Interface. |