DOKK / manpages / debian 12 / libmetacpan-client-perl / MetaCPAN::Client::Pod.3pm.en
MetaCPAN::Client::Pod(3pm) User Contributed Perl Documentation MetaCPAN::Client::Pod(3pm)

MetaCPAN::Client::Pod - A Pod object

version 2.030000

  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>)

Converted to Markdown.

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.

2022-09-29 perl v5.34.0