DOKK / manpages / debian 12 / libcpan-common-index-perl / CPAN::Common::Index::Mirror.3pm.en
CPAN::Common::Index::Mirror(3pm) User Contributed Perl Documentation CPAN::Common::Index::Mirror(3pm)

CPAN::Common::Index::Mirror - Search index via CPAN mirror flatfiles

version 0.010

  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" }
  );

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.

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

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

David Golden <dagolden@cpan.org>

This software is Copyright (c) 2013 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004
2022-12-09 perl v5.36.0