logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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 <dagolden@cpan.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.

Name

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

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

Version

       version 0.010

See Also