Pod::Elemental::Transformer::Pod5(3pm)

Pod::Elemental::Transformer::Pod53pm

The default, minimal semantics of perl5's pod element hierarchy

Usage

  Pod::Elemental::Transformer::Pod5->new->transform_node($pod_elem_document);

...and that's it.

Version

version 0.103006

Overview

The Pod5 transformer is meant to be used to convert the result of a "stock" Pod::Elemental::Document into something simpler to work with. It assumes that the document conforms more or less to the convetions laid out in perlpod and perlpodspec. It is not very strict, and makes very few assumptions, described here:

•

=begin/=end and =for enclose or produce regions within the document

•

regions are associated with format names; format names that begin with a colon enclose more pod-like content

•

regions nest strictly; all inner regions must end before outer regions

•

paragraphs in non-pod regions are "data" paragraphs

•

non-data paragraphs that start with spaces are "verbatim" paragraphs

•

groups of data or verbatim paragraphs can be consolidated

Further, all elements are replaced with equivalent elements that perform the Pod::Elemental::Autoblank role, so all "blank" events can be removed form the tree and ignored.

Perl version

This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

Configuration

None. For now, it just does the same thing every time with no configuration or options.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–10
  5. 11
  6. 12–13

Author

Ricardo SIGNES <[email protected]>

From libpod-elemental-perl 0.103006-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.