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

CPAN::Common::Index::LocalPackage3pm

Search index via custom local cpan package flatfile

Usage

  use CPAN::Common::Index::LocalPackage;
  $index = CPAN::Common::Index::LocalPackage->new(
    { source => "mypackages.details.txt" }
  );

Version

version 0.010

Overview

This module implements a CPAN::Common::Index that searches for packages in a local index file in the same form as the CPAN 02packages.details.txt file.

There is no support for searching on authors.

Attributes

source (REQUIRED)

Path to a local file in the form of 02packages.details.txt. It may be compressed with a ".gz" suffix or it may be uncompressed.

cache

Path to a local directory to store a (possibly uncompressed) copy of the source index. 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.