++ed by:
JROBINSON DAMS PHAYLON SKAUFMAN JKUTEJ

19 PAUSE user(s)
3 non-PAUSE user(s).

Sawyer X

NAME

MetaCPAN::API::Distribution - Distribution information for MetaCPAN::API

VERSION

version 0.50

DESCRIPTION

This role provides MetaCPAN::API with fetching information about distributions, returning information about the distribution which is not specific to a version (like RT bug counts).

METHODS

distibution

    my $result = $mcpan->distibution('DBIx-Class');

Searches MetaCPAN for a dist.

You can do complex searches using 'search' parameter:

    my $result = $mcpan->distribution(
        search => {
            filter => { exists => { field => 'bugs.source' } },
            fields => ['name', 'bugs.source'],
            size   => 5,
        },
    );

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.