MetaCPAN::Client::Pod(3pm)

MetaCPAN::Client::Pod3pm

A pod object

Usage

  use strict;
  use warnings;
  use MetaCPAN::Client;
  my $pod = MetaCPAN::Client->new->pod('Moo');
  print $pod->html;

Version

version 2.033000

Overview

A MetaCPAN pod entity object.

Attributes

request

A MetaCPAN::Client::Request object (created in MetaCPAN::Client)

name

The name of the module (probably always the value passed to the pod() method)

url_prefix

Prefix to be passed through the url_prefix query parameter to the 'pod' endpoint

x_pod

The raw pod extracted from the file.

html

Formatted as an HTML chunk (No <html>...<body>)

x_markdown

Converted to Markdown.

plain

Formatted as plain text.

Get the plaintext version of the documentation

  $pod = MetaCPAN::Client->new->pod( "MetaCPAN::Client" );
  print $pod->plain;

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Authors

•

Sawyer X <[email protected]>

•

Mickey Nasriachi <[email protected]>

From libmetacpan-client-perl 2.033000-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.