Subject: | Synopsis is wrong |
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 |
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;