CPAN::Common::Index::Mirror(3pm)

CPAN::Common::Index::Mirror3pm

Search index via cpan mirror flatfiles

Usage

  use CPAN::Common::Index::Mirror;
  # default mirror is http://www.cpan.org/
  $index = CPAN::Common::Index::Mirror->new;
  # custom mirror
  $index = CPAN::Common::Index::Mirror->new(
    { mirror => "http://cpan.cpantesters.org" }
  );

Version

version 0.010

Overview

This module implements a CPAN::Common::Index that retrieves and searches 02packages.details.txt and 01mailrc.txt indices.

The default mirror is <http://www.cpan.org/>. This is a globally balanced fast mirror and is a great choice if you don't have a local fast mirror.

Attributes

mirror

URI to a CPAN mirror. Defaults to "http://www.cpan.org/".

cache

Path to a local directory to store copies of the source indices. Defaults to a temporary directory if not specified.

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12–13

Author

David Golden <[email protected]>

From libcpan-common-index-perl 0.010-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.