|
NAMEMetaCPAN::Client::Request - Object used for making requests to MetaCPANVERSIONversion 2.029000ATTRIBUTESdomain$mcpan = MetaCPAN::Client->new( domain => 'localhost' ); What domain to use for all requests. Default: https://fastapi.metacpan.org. base_urlmy $mcpan = MetaCPAN::Client->new( base_url => 'https://localhost:9999/v2', ); Instead of overriding the "base_url", you should override the "domain". The "base_url" will be set appropriately automatically. Default: https://$domain. debugdebug-mode for more detailed error messages.METHODSBUILDARGSfetchmy $result = $mcpan->fetch('/release/Moose'); # with parameters my $more = $mcpan->fetch( '/release/Moose', { param => 'value' }, ); Fetches a path from MetaCPAN (post or get), and returns the decoded result. ssearchCalls an Elasticsearch query and returns an MetaCPAN::Client::Scroll scroller object.AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2016 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.
Visit the GSP FreeBSD Man Page Interface. |