1CPAN::Common::Index::LoUcsaelrPaCcoknatgrei(b3u)ted PerlCPDAoNc:u:mCeonmtmaotni:o:nIndex::LocalPackage(3)
2
3
4
6 CPAN::Common::Index::LocalPackage - Search index via custom local CPAN
7 package flatfile
8
10 version 0.010
11
13 use CPAN::Common::Index::LocalPackage;
14
15 $index = CPAN::Common::Index::LocalPackage->new(
16 { source => "mypackages.details.txt" }
17 );
18
20 This module implements a CPAN::Common::Index that searches for packages
21 in a local index file in the same form as the CPAN
22 02packages.details.txt file.
23
24 There is no support for searching on authors.
25
27 source (REQUIRED)
28 Path to a local file in the form of 02packages.details.txt. It may be
29 compressed with a ".gz" suffix or it may be uncompressed.
30
31 cache
32 Path to a local directory to store a (possibly uncompressed) copy of
33 the source index. Defaults to a temporary directory if not specified.
34
36 David Golden <dagolden@cpan.org>
37
39 This software is Copyright (c) 2013 by David Golden.
40
41 This is free software, licensed under:
42
43 The Apache License, Version 2.0, January 2004
44
45
46
47perl v5.30.0 2019-07-2C6PAN::Common::Index::LocalPackage(3)