1Menlo::Index::MetaDB(3)User Contributed Perl DocumentatioMnenlo::Index::MetaDB(3)
2
3
4
6 use CPAN::Common::Index::MetaDB;
7
8 $index = CPAN::Common::Index::MetaDB->new;
9
10 $index->search_packages({ package => "Moose" });
11 $index->search_packages({ package => "Moose", version_range => ">= 2.0" });
12
14 This module implements a CPAN::Common::Index that searches for packages
15 against the same CPAN MetaDB API used by cpanminus.
16
17 There is no support for advanced package queries or searching authors.
18 It just takes a package name and returns the corresponding version and
19 distribution.
20
21
22
23perl v5.32.1 2021-01-27 Menlo::Index::MetaDB(3)