NAME
PITA::Report::Distribution - Data object representing a single distribution
SYNOPSIS
# Create a distribution specification
my $dist = PITA::Report::Distribution->new(
distname => 'PITA-Report',
filename => '...',
md5sum => '0123456789ABCDEF0123456789ABCDEF',
# Optional path within CPAN
cpanpath => '...',
);
DESCRIPTION
PITA::Report::Distribition
is an object for holding information about a distribution to be tested. It is created most often as part of the parsing of a PITA::Report XML file.
It holds the name of the distribition, an MD5 sum used for error checking purposes, and some paths (private and CPAN).
METHODS
distname
The distname
accessor returns the name of the distribution as a string.
Most often, this would be something like 'Foo-Bar' with a primary focus on the class Foo::Bar.
filename
The filename
accessor returns ...
md5sum
The md5sum
accessor returns the MD5 sum for package. This is only used as a CRC and isn't assumed to be cryptographically secure.
cpanpath
When testing CPAN distributions, the cpanpath
returns the path for the distribution file within the CPAN.
For non-CPAN distributions, returns false (the null string).
SUPPORT
Bugs should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=PITA-Report
For other issues, contact the author.
AUTHOR
Adam Kennedy <cpan@ali.as>, http://ali.as/
SEE ALSO
The Perl Image-based Testing Architecture (http://ali.as/pita/)
COPYRIGHT
Copyright 2005 Adam Kennedy. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.