Menlo:...MetaDB(3pm)
π NAME π
Menlo::Index::MetaDB β the search index that's out here doing its thing via CPAN MetaDB β¨
So yeah bestie, this page is straight outta the User Contributed Perl Documentation section, filed under Menlo:...MetaDB(3pm), and it's lowkey one of the most straightforward little modules you'll ever meet π«Ά
π SYNOPSIS π
okay so here's literally all you gotta do:
use CPAN::Common::Index::MetaDB;
$index = CPAN::Common::Index::MetaDB->new;
$index->search_packages({ package => "Moose" });
$index->search_packages({ package => "Moose", version_range => ">= 2.0" });
like. that's it. that's the whole vibe π
π¦ DESCRIPTION π¦
This module implements a CPAN::Common::Index that searches for packages against the same CPAN MetaDB API used by cpanminus. no cap π§
And now for the part where I have to be honest with you: there is no support for advanced package queries, and there's no searching authors either. π It just takes a package name and returns the corresponding version and distribution. That's the whole job. It's giving "does one thing and does it well" energy and honestly? iconic. π
fr fr, don't come at it expecting fancy query powers β it's a one-trick pony and the trick is very cute.
perl v5.36.0 Β· 2022-12-13 β that's the source and date, bestie, so if you're citing this in your homework, there you go π and with that, this page is officially a wrap, mwah πππ¦β¨
π¦ where this page comes from
- debian bookworm: libmenlo-perl 1.9019-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmenlo-perl 1.9019-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmenlo-perl 1.9019-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmenlo-perl 1.9019-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmenlo-perl 1.9019-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms