MetaCPA...ribution(3)

πŸ“¦
version 0.51 Β· 2 versions
, in fedora 43

πŸ’– MetaCPAN::API::Distribution πŸ’–

okay bestie, so this is MetaCPAN::API::Distribution β€” a lil role from the MetaCPAN::API crew that handles all the distribution tea. It's a Perl module, it lives in the User Contributed Perl Documentation section of the manual, and it is so good at what it does. 🫢


✨ VERSION ✨

version 0.51 β€” that's the one, no cap. πŸ’…


🌸 DESCRIPTION 🌸

So here's the vibe: this role gives MetaCPAN::API the power to go fetch info about distributions. And not the version-specific stuff β€” we're talking the distribution-level lore, the things that stay the same no matter which version you're peeking at. Like RT bug counts. Yeah. RT bug counts. That kind of thing. πŸ›

It's giving "big picture only" and honestly? Iconic. ✨


πŸŽ€ METHODS πŸŽ€

πŸ’« distribution

my $result = $mcpan->distribution('DBIx-Class');

This one searches MetaCPAN for a dist. Simple as that, fr fr. πŸ”

But wait β€” plot twist β€” you can do complex searches using the 'search' parameter. Behold:

my $result = $mcpan->distribution(
    search => {
        filter => { exists => { field => 'bugs.source' } },
        fields => ['name', 'bugs.source'],
        size   => 5,
    },
);

Look at that. filter, fields, size β€” the whole lil search squad showing up together. Main character energy, honestly. πŸ‘‘


πŸ’œ AUTHOR πŸ’œ

Sawyer X <xsawyerx@cpan.org> β€” the legend behind this whole thing. Respect. 🫑


This software is copyright (c) 2011 by Sawyer X.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. So go wild, bestie, it's free. πŸ¦‹


and that's the whole page!! πŸ’– it was generated with perl v5.42.0, dated 2025-07-25, and it's filed under MetaCPA...ribution(3) in the manual. mwah, periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from