MetaCPAN::API::Autocomplete - Autocompletion info for MetaCPAN::API
version 0.50
This role provides MetaCPAN::API with fetching autocomplete information
my $result = $mcpan->autocomplete( search => { query => 'Moose', }, );
By default, you get 20 results (at maximum). If you need more, you can also pass size:
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.
Sawyer X <xsawyerx@cpan.org>
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.
To install MetaCPAN::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MetaCPAN::API
CPAN shell
perl -MCPAN -e shell install MetaCPAN::API
For more information on module installation, please visit the detailed CPAN module installation guide.