NAME

CPAN::WWW::Testers::Generator::Article - Parse a CPAN Testers article

DESCRIPTION

This is used by CPAN::WWW::Testers::Generator.

METHODS

new

The constructor. Pass in a reference to the article.

parse_upload

Parses an upload article.

parse_report

Parses a report article.

passed

Whether the report was a PASS

failed

Whether the report was a FAIL

Accessors

All the following are accessors available through via the object, once an article has been parsed as a report or upload announcement.

  • postdate

    'YYYYMM' representation of the date article was posted.

  • date

    'YYYYMMDDhhmm' representation of the date article was posted.

  • status

    For reports this will be the grade, for uploads this will be 'CPAN'.

  • from

    Who posted the article.

  • distribution

    The distribution name.

  • version

    The distribution version.

  • perl

    The perl interpreter version used for testing.

  • osname

    Operating system name.

  • osvers

    Operating system version.

  • archname

    Operating system architecture name. This is usually based on the osname and osvers, but they are not always the same.

  • subject

    Subject line of the original post.

AUTHOR

Original author:    Leon Brocard <acme@astray.com>   (C) 2002-2008
Current maintainer: Barbie       <barbie@cpan.org>   (C) 2008

LICENSE

This code is distributed under the same license as Perl.