NAME

MetaCPAN::API::Release - Distribution and releases information for MetaCPAN::API

VERSION

version 0.51

DESCRIPTION

This role provides MetaCPAN::API with fetching information about distribution and releases.

METHODS

release

my $result = $mcpan->release( distribution => 'Moose' );

# or
my $result = $mcpan->release( author => 'DOY', release => 'Moose-2.0001' );

Searches MetaCPAN for a dist.

You can do complex searches using 'search' parameter:

# example lifted from MetaCPAN docs
my $result = $mcpan->release(
    search => {
        author => "OALDERS AND ",
        filter => "status:latest",
        fields => "name",
        size   => 1,
    },
);

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.