The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Module::CPANTS::asHash - CPANTS data as a big Hash

SYNOPSIS

      use Module::CPANTS::asHash;
      my $c = Module::CPANTS::asHash->new();
      my $cpants = $c->data;

DESCRIPTION

%kwalitee_pod%

AUTHOR

Thomas Klausner <domm@zsi.at>

LICENSE

This code is distributed under the same license as Perl.

NAME

Module::CPANTS::Reporter::asHash - CPANTS as a hash packed in a distribution

SYNOPSIS

see Module::CPANTS::Reporter

DESCRIPTION

Module::CPANTS::Reporter::asHash collects CPANTS metrics for all distributions in one hash. This hash is packed up as a CPAN distribution of its own.

Methods

init

Not used.

report

Adds $metrics->data to a package global hash. Also adds $metrics->flaws.

finish

Generate the package using a frightening combination of Here documents, the __DATA__ section and a homegrown templating system (ok, it's a simple regex).

AUTHOR

Thomas Klausner <domm@zsi.at>

http://domm.zsi.at

LICENSE

This code is distributed under the same license as Perl.