Manpage logo

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

NAME  VERSION  SYNOPSIS  DESCRIPTION  ATTRIBUTES  mirror  cache  AUTHOR  COPYRIGHT AND LICENSE 

NAME

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

VERSION

version 0.010

SYNOPSIS

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

DESCRIPTION

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.

AUTHOR

David Golden <[email protected]>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

The Apache License, Version 2.0, January 2004


Updated 2026-06-01 - jenkler.se | uex.se