- or download this
$reporter = My::Latest::Module::Reports->new(\%defaults);
my $result = $reporter->send_report({ type => 'nightly_summary' });
print STDERR Dumper($result);
- or download this
sub _nightly_summary {
my $self = shift;
...
# print Dumper(\$stats);
return $stats;
}
- or download this
The template is: /etc/canvas/tmpl/rpt/nightly_summary.tmpl
The output file is:
$VAR1 = undef;
$VAR1 = 1;
- or download this
The current Message of the Day reads:
...
name=FOLLWUP_CALL> \n
Comments: <tmpl_var name=COMMENTS> \n
</tmpl_loop>