Menlo:...MetaDB(3pm)

πŸ“¦
version 1.9019 Β· 7 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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