1MetaCPAN::API::AutocompUlseetre(C3o)ntributed Perl DocumMeenttaaCtPiAoNn::API::Autocomplete(3)
2
3
4

NAME

6       MetaCPAN::API::Autocomplete - Autocompletion info for MetaCPAN::API
7

VERSION

9       version 0.51
10

DESCRIPTION

12       This role provides MetaCPAN::API with fetching autocomplete information
13

METHODS

15   autocomplete
16           my $result = $mcpan->autocomplete(
17               search => {
18                   query => 'Moose',
19               },
20           );
21
22       By default, you get 20 results (at maximum). If you need more, you can
23       also pass "size":
24
25           my $result = $mcpan->autocomplete(
26               search => {
27                   query => 'Moose',
28                   size  => 30,
29               },
30           );
31
32       There is a hardcoded limit of 100 results (hardcoded in MetaCPAN).
33
34       Searches MetaCPAN for autocompletion info.
35

AUTHOR

37       Sawyer X <xsawyerx@cpan.org>
38
40       This software is copyright (c) 2011 by Sawyer X.
41
42       This is free software; you can redistribute it and/or modify it under
43       the same terms as the Perl 5 programming language system itself.
44
45
46
47perl v5.38.0                      2023-07-20    MetaCPAN::API::Autocomplete(3)
Impressum