MetaCPAN::Client::Pod - A Pod object
use strict;
use warnings;
use MetaCPAN::Client;
my $pod = MetaCPAN::Client->new->pod('Moo');
print $pod->html;
A MetaCPAN pod entity object.
A MetaCPAN::Client::Request object (created in MetaCPAN::Client)
The name of the module (probably always the value passed to the pod()
method)
Prefix to be passed through the url_prefix query parameter to the 'pod' endpoint
The raw pod extracted from the file.
Formatted as an HTML chunk (No <html>...<body>)
Formatted as plain text.
Get the plaintext version of the documentation
$pod = MetaCPAN::Client->new->pod( "MetaCPAN::Client" );
print $pod->plain;
- Sawyer X <xsawyerx@cpan.org>
- Mickey Nasriachi <mickey@cpan.org>
This software is copyright (c) 2016 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.