MetaCPA...ribution(3)
π 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. π«‘
π COPYRIGHT AND LICENSE π
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
- fedora 43: perl-MetaCPAN-API 0.51-24.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms