Subject: | Documentation error in SYNOPSIS section |
The SYNOPSIS section in documentation for Module::CPANTS::Analyse is not
of very high kwalitee... ;)
it reads:
...
use Module::CPANTS::Analyse;
my $analyser=Module::CPANTS::Analyse({
dist=>'path/to/Foo-Bar-1.42.tgz',
});
...
This gives error:
Undefined subroutine &Module::CPANTS::Analyse called
Because it should read:
...
use Module::CPANTS::Analyse;
my $analyser=Module::CPANTS::Analyse->new({
dist=>'path/to/Foo-Bar-1.42.tgz',
});
...