Skip Menu |

This queue is for tickets about the Parse-CPAN-Packages CPAN distribution.

Report information
The Basics
Id: 60919
Status: resolved
Priority: 0/
Queue: Parse-CPAN-Packages

People
Owner: Nobody in particular
Requestors: w.phillip.moore@gmail.com (no email address)
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.31
Fixed in: (no value)



This is just a patch to the documentation. Several of the class names in the docs were incorrect.
Subject: Parse-CPAN-Packages-2.31-doc-patches.patch
diff -rc Parse-CPAN-Packages-2.31/lib/Parse/CPAN/Packages.pm Parse-CPAN-Packages-2.31-doc-patches/lib/Parse/CPAN/Packages.pm *** Parse-CPAN-Packages-2.31/lib/Parse/CPAN/Packages.pm 2009-04-23 03:56:07.000000000 -0700 --- Parse-CPAN-Packages-2.31-doc-patches/lib/Parse/CPAN/Packages.pm 2010-08-31 13:48:25.000000000 -0700 *************** *** 314,320 **** Returns a C<Parse::CPAN::Packages::Package> that represents the named package. ! my $p = Parse::CPAN::Distribution->new($gzfilename); my $package = $p->package("Acme::Colour"); =item packages() --- 314,320 ---- Returns a C<Parse::CPAN::Packages::Package> that represents the named package. ! my $p = Parse::CPAN::Packages->new($gzfilename); my $package = $p->package("Acme::Colour"); =item packages() *************** *** 324,343 **** =item package_count() ! Returns the numebr of packages stored. =item distribution($filename) ! Returns a B<Parse::CPAN::Distribution> that represents the ! filename passed: ! my $p = Parse::CPAN::Distribution->new($gzfilename); my $dist = $p->distribution('L/LB/LBROCARD/Acme-Colour-1.00.tar.gz'); =item distributions() ! Returns a list of B<Parse::CPAN::Distribution> objects representing ! all the known distributions. =item distribution_count() --- 324,343 ---- =item package_count() ! Returns the number of packages stored. =item distribution($filename) ! Returns a B<Parse::CPAN::Packages::Distribution> object that ! represents the filename passed: ! my $p = Parse::CPAN::Packages->new($gzfilename); my $dist = $p->distribution('L/LB/LBROCARD/Acme-Colour-1.00.tar.gz'); =item distributions() ! Returns a list of B<Parse::CPAN::Packages::Distribution> objects ! representing all the known distributions. =item distribution_count() *************** *** 345,362 **** =item latest_distribution($distname) ! Returns the C<Parse::CPAN::Distribution> that represents the latest ! distribution for the named disribution passed, that is to say it ! returns the distribution that has the highest version number (as ! determined by version.pm or number comparison if that fails): ! my $p = Parse::CPAN::Distribution->new($gzfilename); my $dist = $p->distribution('Acme-Color'); =item latest_distrbutions() ! Returns a list of B<Parse::CPAN::Distribution> objects representing ! all the latest distributions. =item latest_distribution_count() --- 345,363 ---- =item latest_distribution($distname) ! Returns the C<Parse::CPAN::Packages::Distribution> object that ! represents the latest distribution for the named disribution passed, ! that is to say it returns the distribution that has the highest ! version number (as determined by version.pm or number comparison if ! that fails): ! my $p = Parse::CPAN::Packages->new($gzfilename); my $dist = $p->distribution('Acme-Color'); =item latest_distrbutions() ! Returns a list of B<Parse::CPAN::Packages::Distribution> objects ! representing all the latest distributions. =item latest_distribution_count() Only in Parse-CPAN-Packages-2.31-doc-patches/lib/Parse/CPAN: Packages.pm~
Thanks. I added your doc fixes to V2.33.