Deprecated.
The maintainer of this distribution has indicated that it is deprecated and no longer suitable for use.
NAME
MetaCPAN::API::Autocomplete - Autocompletion info for MetaCPAN::API
VERSION
version 0.51
DESCRIPTION
This role provides MetaCPAN::API with fetching autocomplete information
METHODS
autocomplete
my $result = $mcpan->autocomplete(
search => {
query => 'Moose',
},
);
By default, you get 20 results (at maximum). If you need more, you can also pass size
:
my $result = $mcpan->autocomplete(
search => {
query => 'Moose',
size => 30,
},
);
There is a hardcoded limit of 100 results (hardcoded in MetaCPAN).
Searches MetaCPAN for autocompletion info.
AUTHOR
Sawyer X <xsawyerx@cpan.org>
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.