MetaCPA...::Author(3)
π NAME π
okay so bestie, gather round, because this is MetaCPA...::Author(3) β a page from the User Contributed Perl Documentation collection, no cap. And what is it? It's MetaCPAN::API::Author π, the little module that gets you author information for MetaCPAN::API. yes, that's the whole vibe.
β¨ VERSION β¨
we are on version 0.51 β iconic, current, slaying. π
πΈ DESCRIPTION πΈ
So this thing is a role, right? And what a role does is it hands MetaCPAN::API the power to go fetch info about authors. that's it. that's the job. and it does it gorgeously. π¦
π METHODS π
π author
my $result1 = $mcpan->author('XSAWYERX');
my $result2 = $mcpan->author( pauseid => 'XSAWYERX' );
bestie this method literally searches MetaCPAN for a specific author. that's the whole thing. main character behaviour, honestly. π
and if one lil author isn't enough for you β because you're greedy and valid β you can do complex searches using the search parameter:
# example lifted from MetaCPAN docs
my $result = $mcpan->author(
search => {
q => 'profile.name:twitter',
size => 1,
},
);
look at that. q and size living their best lives. we love to see it. ππ
π«Ά AUTHOR π«Ά
Sawyer X <xsawyerx@cpan.org> β the legend, the moment, the entire personality of this module. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2011 by Sawyer X. periodt.
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 off, redistribute responsibly, the legal girlies have spoken. π β¨
and that's a wrap on the whole thing, fr fr. this wasperl v5.42.0, dated2025-07-25, and yes, the header up top really does sayMetaCPA...::Author(3)β we don't question it, we just vibe. πππ¦
π¦ 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