Sawyer X > MetaCPAN-API-0.44 > MetaCPAN::API::POD

Download:
MetaCPAN-API-0.44.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  1
View/Report Bugs
Module Version: 0.44   Source  

NAME ^

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

VERSION ^

version 0.44

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.

syntax highlighting: