1CPAN::Common::Index::MiUrsreorr(C3o)ntributed Perl DocumCePnAtNa:t:iCoonmmon::Index::Mirror(3)
2
3
4
6 CPAN::Common::Index::Mirror - Search index via CPAN mirror flatfiles
7
9 version 0.010
10
12 use CPAN::Common::Index::Mirror;
13
14 # default mirror is http://www.cpan.org/
15 $index = CPAN::Common::Index::Mirror->new;
16
17 # custom mirror
18 $index = CPAN::Common::Index::Mirror->new(
19 { mirror => "http://cpan.cpantesters.org" }
20 );
21
23 This module implements a CPAN::Common::Index that retrieves and
24 searches 02packages.details.txt and 01mailrc.txt indices.
25
26 The default mirror is <http://www.cpan.org/>. This is a globally
27 balanced fast mirror and is a great choice if you don't have a local
28 fast mirror.
29
31 mirror
32 URI to a CPAN mirror. Defaults to "http://www.cpan.org/".
33
34 cache
35 Path to a local directory to store copies of the source indices.
36 Defaults to a temporary directory if not specified.
37
39 David Golden <dagolden@cpan.org>
40
42 This software is Copyright (c) 2013 by David Golden.
43
44 This is free software, licensed under:
45
46 The Apache License, Version 2.0, January 2004
47
48
49
50perl v5.32.0 2020-07-28 CPAN::Common::Index::Mirror(3)