NAME

MetaCPAN::API::POD - POD information for MetaCPAN::API

VERSION

version 0.51

DESCRIPTION

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

METHODS

pod

my $result = $mcpan->pod( module => 'Moose' );

# or
my $result = $mcpan->pod(
    author  => 'DOY',
    release => 'Moose-2.0201',
    path    => 'lib/Moose.pm',
);

Searches MetaCPAN for a module or a specific release and returns the POD.

Content type can also be specified, like so:

my $result = $mcpan->pod( module => 'Moose', 'content-type' => 'x-pod' );

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.