1MetaCPAN::API::Release(U3s)er Contributed Perl DocumentatMieotnaCPAN::API::Release(3)
2
3
4
6 MetaCPAN::API::Release - Distribution and releases information for
7 MetaCPAN::API
8
10 version 0.51
11
13 This role provides MetaCPAN::API with fetching information about
14 distribution and releases.
15
17 release
18 my $result = $mcpan->release( distribution => 'Moose' );
19
20 # or
21 my $result = $mcpan->release( author => 'DOY', release => 'Moose-2.0001' );
22
23 Searches MetaCPAN for a dist.
24
25 You can do complex searches using 'search' parameter:
26
27 # example lifted from MetaCPAN docs
28 my $result = $mcpan->release(
29 search => {
30 author => "OALDERS AND ",
31 filter => "status:latest",
32 fields => "name",
33 size => 1,
34 },
35 );
36
38 Sawyer X <xsawyerx@cpan.org>
39
41 This software is copyright (c) 2011 by Sawyer X.
42
43 This is free software; you can redistribute it and/or modify it under
44 the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.28.0 2017-06-07 MetaCPAN::API::Release(3)