Subject: | Backends other than CPAN don't find all modules? |
Hi there,
This might be a local system config issue, if so I'd appreciate any
pointers on tracing this.
It seems that anything other than CPAN as a backend has difficulty
finding all modules on CPAN, in particular CGI::Application -
http://search.cpan.org/~markstos/CGI-Application-
4.50/lib/CGI/Application.pm - as the following script hopefully
demonstrates:
$ cat podcheck.pl
#!/usr/bin/perl
use strict;
use warnings;
=pod
Test link to L<CGI::Application>
=cut
use Test::Pod::LinkCheck;
# CPAN seems to work fine, but CPANPLUS (the default) and CPANSQLite
both fail
Test::Pod::LinkCheck->new(cpan_backend => $_)->pod_ok('./podcheck.pl')
for qw(CPAN CPANPLUS CPANSQLite);
__END__
$ perl podcheck.pl
CPAN: Storable loaded ok (v2.35)
Reading '/home/tom/.cpan/Metadata'
Database was generated on Wed, 01 Aug 2012 11:43:03 GMT
ok 1 - LinkCheck test for ./podcheck.pl
not ok 2 - LinkCheck test for ./podcheck.pl
# Failed test 'LinkCheck test for ./podcheck.pl'
# at podcheck.pl line 13.
# Erroneous links:
# * ./podcheck.pl:7:14 - Unknown link type(pod) to(CGI::Application) -
module doesn't exist in CPAN
not ok 3 - LinkCheck test for ./podcheck.pl
# Failed test 'LinkCheck test for ./podcheck.pl'
# at podcheck.pl line 13.
# Erroneous links:
# * ./podcheck.pl:7:14 - Unknown link type(pod) to(CGI::Application) -
unable to check CPAN
# Tests were run but no plan was declared and done_testing() was not
seen.
$ cpan CPAN CPANPLUS CPAN::SQLite
CPAN: Storable loaded ok (v2.35)
Reading '/home/tom/.cpan/Metadata'
Database was generated on Wed, 01 Aug 2012 11:43:03 GMT
CPAN: Module::CoreList loaded ok (v2.69)
CPAN is up to date (1.9800).
CPANPLUS is up to date (0.9130).
CPAN::SQLite is up to date (0.202).
cheers,
Tom