Skip Menu |

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

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

Owner: Nobody in particular
Requestors: SREZIC [...]

Bug Information
Severity: Wishlist
Broken in: 2.29
Fixed in: (no value)


Subject: Get's 02packages.details.txt.gz
Download (untitled) / with headers
text/plain 198b
It is likely that the user already has a 02packages.details.txt.gz file available through The patch documents how to get this file to be used by Parse::CPAN::Packages. Regards, Slaven
diff -ur Parse-CPAN-Packages-2.29-XthAn6/lib/Parse/CPAN/ new.Parse-CPAN-Packages-2.29-XthAn6/lib/Parse/CPAN/ --- Parse-CPAN-Packages-2.29-XthAn6/lib/Parse/CPAN/ Tue Aug 19 20:42:46 2008 +++ new.Parse-CPAN-Packages-2.29-XthAn6/lib/Parse/CPAN/ Wed Sep 10 22:55:34 2008 @@ -301,6 +301,15 @@ my $data = get(""); my $p = Parse::CPAN::Packages->new($data); +If you have a configured L<CPAN>, then there's usually already a +cached file available: + + use CPAN; + $CPAN::Be_Silent = 1; + CPAN::HandleConfig->load; + my $file = $CPAN::Config->{keep_source_where} . "/modules/02packages.details.txt.gz"; + my $p = Parse::CPAN::Packages->new($file); + =item package($packagename) Returns a C<Parse::CPAN::Packages::Package> that represents the Only in new.Parse-CPAN-Packages-2.29-XthAn6/lib/Parse/CPAN:
This will be in the next release. Thanks. :)

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to