NAME
App::RunCron::Reporter - base class for reporters of App::RunCron
SYNOPSIS
package App::RunCron::Reporter::Blah;
use parent 'App::RunCron::Reporter';
sub run {
my ($self, $runcron) = @_;
my $report = $runcron->report;
...
}
DESCRIPTION
App::RunCron::Reporter is a base class for reporters of App::RunCron.
INTERFACE
Supporting 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.
LICENSE
Copyright (C) Songmu.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Songmu <y.songmu@gmail.com>