Skip Menu |
 

This queue is for tickets about the Module-CPANTS-Analyse CPAN distribution.

Report information
The Basics
Id: 26379
Status: resolved
Priority: 0/
Queue: Module-CPANTS-Analyse

People
Owner: Nobody in particular
Requestors: MSTEVENS [...] cpan.org
Cc:
AdminCc:

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



Subject: Synopsis is wrong
Download (untitled) / with headers
text/plain 139b
The Module::CPANTS::Analyse synopsis code is unusable as it doesn't actually create an Analyse object. This patch improves things slightly.
Subject: doc.cpants.diff
Download doc.cpants.diff
text/x-diff 612b
diff -urN Module-CPANTS-Analyse-0.69.orig/lib/Module/CPANTS/Analyse.pm Module-CPANTS-Analyse-0.69/lib/Module/CPANTS/Analyse.pm --- Module-CPANTS-Analyse-0.69.orig/lib/Module/CPANTS/Analyse.pm 2006-11-04 17:25:38.000000000 +0000 +++ Module-CPANTS-Analyse-0.69/lib/Module/CPANTS/Analyse.pm 2007-04-15 15:49:14.000000000 +0100 @@ -144,9 +144,11 @@ =head1 SYNOPSIS - my $analyser=Module::CPANTS::Analyse( + use Module::CPANTS::Analyse; + + my $analyser = Module::CPANTS::Analyse->new( { - dist=>'path/to/Foo-Bar-1.42.tgz', + dist => 'path/to/Foo-Bar-1.42.tgz', } ); $a->unpack;
Download (untitled) / with headers
text/plain 237b
On Sun Apr 15 10:50:57 2007, MSTEVENS wrote: Show quoted text
> The Module::CPANTS::Analyse synopsis code is unusable as it doesn't > actually create an Analyse object. This patch improves things slightly.
Updated patch to fix mismatched variable names.
Download doc2.cpants.diff
text/x-diff 813b
diff -urN Module-CPANTS-Analyse-0.69.orig/lib/Module/CPANTS/Analyse.pm Module-CPANTS-Analyse-0.69/lib/Module/CPANTS/Analyse.pm --- Module-CPANTS-Analyse-0.69.orig/lib/Module/CPANTS/Analyse.pm 2006-11-04 17:25:38.000000000 +0000 +++ Module-CPANTS-Analyse-0.69/lib/Module/CPANTS/Analyse.pm 2007-04-15 16:07:24.000000000 +0100 @@ -144,15 +144,17 @@ =head1 SYNOPSIS - my $analyser=Module::CPANTS::Analyse( + use Module::CPANTS::Analyse; + + my $analyser = Module::CPANTS::Analyse->new( { - dist=>'path/to/Foo-Bar-1.42.tgz', + dist => 'path/to/Foo-Bar-1.42.tgz', } ); - $a->unpack; - $a->analyse; - $a->calc_kwalitee; - # results are in $a->d; + $analyser ->unpack; + $analyser->analyse; + $analyser->calc_kwalitee; + # results are in $analyser->d; =head1 DESCRIPTION
patch applied, thanks!


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.