1MetaCPAN::API::AutocompUlseetre(C3o)ntributed Perl DocumMeenttaaCtPiAoNn::API::Autocomplete(3)
2
3
4
6 MetaCPAN::API::Autocomplete - Autocompletion info for MetaCPAN::API
7
9 version 0.51
10
12 This role provides MetaCPAN::API with fetching autocomplete information
13
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
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.32.1 2021-01-27 MetaCPAN::API::Autocomplete(3)