#!/usr/bin/perl -s -Ilib # PODNAME: dmoss-report # ABSTRACT: command line tool to create reports use warnings; use strict; no strict 'refs'; our $stdin; use DMOSS; use DMOSS::Report::HTML; my $dmoss; if ($stdin) { $dmoss = DMOSS::from_stdout(); } else { my $file = shift; $file = 'dmoss.data' unless $file; $dmoss = DMOSS::load($file); } my $report = DMOSS::Report::HTML->new($dmoss); print $report->output; __END__ =encoding UTF-8 =head1 SYNOPSIS $ dmoss-report > package-1.0.html =head1 DESCRIPTION C is a front-end to the DMOSS toolkit. It can be used to process a software package. The data is saved by debault to C. To build a report from the gathered data view the C tool.