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

CPAN::Common::Index::LocalPackage - Search index via custom local CPAN package flatfile

version 0.010

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

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.

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.

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