1MetaCPAN::Client::Pod(3U)ser Contributed Perl DocumentatiMoentaCPAN::Client::Pod(3)
2
3
4

NAME

6       MetaCPAN::Client::Pod - A Pod object
7

VERSION

9       version 2.025000
10

SYNOPSIS

12         use strict;
13         use warnings;
14         use MetaCPAN::Client;
15
16         my $pod = MetaCPAN::Client->new->pod('Moo');
17
18         print $pod->html;
19

DESCRIPTION

21       A MetaCPAN pod entity object.
22

ATTRIBUTES

24   request
25       A MetaCPAN::Client::Request object (created in MetaCPAN::Client)
26
27   name
28       The name of the module (probably always the value passed to the pod()
29       method)
30
31   url_prefix
32       Prefix to be passed through the url_prefix query parameter to the 'pod'
33       endpoint
34
35   x_pod
36       The raw pod extracted from the file.
37
38   html
39       Formatted as an HTML chunk (No <html>...<body>)
40
41   x_markdown
42       Converted to Markdown.
43
44   plain
45       Formatted as plain text.
46
47       Get the plaintext version of the documentation
48
49         $pod = MetaCPAN::Client->new->pod( "MetaCPAN::Client" );
50         print $pod->plain;
51

AUTHORS

53       ·   Sawyer X <xsawyerx@cpan.org>
54
55       ·   Mickey Nasriachi <mickey@cpan.org>
56
58       This software is copyright (c) 2016 by Sawyer X.
59
60       This is free software; you can redistribute it and/or modify it under
61       the same terms as the Perl 5 programming language system itself.
62
63
64
65perl v5.28.0                      2018-04-22          MetaCPAN::Client::Pod(3)
Impressum