Andreas J. König > CPAN-Testers-ParseReport-0.2.7 > ctsolvereports

Download:
CPAN-Testers-ParseReport-0.2.7.tar.bz2

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source   Latest Release: CPAN-Testers-ParseReport-0.2.9

NAME ^

ctsolvereports - Analyse reports from a YAML file

SYNOPSIS ^

  ctsolvereports [options] yamlfile

OPTIONS ^

--help|h

Prints a brief message and exists.

use strict; use warnings;

use CPAN::Testers::ParseReport; use Getopt::Long; use Pod::Usage qw(pod2usage); use YAML::Syck;

our %Opt; my @opt = $optpod =~ /--(\S+)/g; for (@opt) { $_ .= "!" unless /[+!=]/; }

GetOptions(\%Opt, @opt, ) or pod2usage(2);

if ($Opt{help}) { pod2usage(0); }

if (1 != @ARGV) { pod2usage(2); }

my $data = YAML::Syck::LoadFile($ARGV[0]); CPAN::Testers::ParseReport::solve($data);

__END__

syntax highlighting: