1MetaCPAN::API::DistribuUtsieorn(C3o)ntributed Perl DocumMeenttaaCtPiAoNn::API::Distribution(3)
2
3
4
6 MetaCPAN::API::Distribution - Distribution information for
7 MetaCPAN::API
8
10 version 0.51
11
13 This role provides MetaCPAN::API with fetching information about
14 distributions, returning information about the distribution which is
15 not specific to a version (like RT bug counts).
16
18 distribution
19 my $result = $mcpan->distribution('DBIx-Class');
20
21 Searches MetaCPAN for a dist.
22
23 You can do complex searches using 'search' parameter:
24
25 my $result = $mcpan->distribution(
26 search => {
27 filter => { exists => { field => 'bugs.source' } },
28 fields => ['name', 'bugs.source'],
29 size => 5,
30 },
31 );
32
34 Sawyer X <xsawyerx@cpan.org>
35
37 This software is copyright (c) 2011 by Sawyer X.
38
39 This is free software; you can redistribute it and/or modify it under
40 the same terms as the Perl 5 programming language system itself.
41
42
43
44perl v5.32.0 2020-07-28 MetaCPAN::API::Distribution(3)