MetaCPA...complete(3)
πΈ NAME πΈ
MetaCPAN::API::Autocomplete β literally just autocompletion info for MetaCPAN::API, bestie π
β¨ VERSION β¨
version 0.51 π
π DESCRIPTION π
okay so this role is the glow-up that gives MetaCPAN::API the power to go fetch autocomplete info. that's it, that's the whole vibe. it's giving "small but essential," fr fr π¦
π METHODS π
π autocomplete
the main character, the moment, the one you came here for:
my $result = $mcpan->autocomplete(
search => {
query => 'Moose',
},
);
so by default? you get 20 results, and that's the max, periodt. no more, no less (well, up to 20, iykyk).
but if you're feeling greedy and want more, you can also pass size in there like so:
my $result = $mcpan->autocomplete(
search => {
query => 'Moose',
size => 30,
},
);
heads up bestie: there is a hardcoded limit of 100 results β and it's hardcoded in MetaCPAN, not here. so no matter how cute you ask, 100 is the ceiling. don't fight it, the limit ate π₯
what does it actually do? it searches MetaCPAN for autocompletion info. simple as that, no cap π
π«Ά AUTHOR π«Ά
Sawyer X <xsawyerx@cpan.org> β the icon who made this happen π
π 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. slay π
and that's the whole page, bestie β¨ this was perl v5.42.0, dated 2025-07-25, and the manual page is MetaCPA...complete(3) β yes the name is chaotic, we love her anyway ππ
π¦ 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