PPI::Token::Pod(3pm)

PPI::Token::Pod3pm

Sections of pod in perl documents

Inheritance

  PPI::Token::Pod
  isa PPI::Token
      isa PPI::Element

Overview

A single "PPI::Token::Pod" object represents a complete section of POD documentation within a Perl document.

Methods

This class provides some additional methods beyond those provided by its PPI::Token and PPI::Element parent classes.

merge @podtokens

The "merge" constructor takes a number of "PPI::Token::Pod" objects, and returns a new object that represents one combined POD block with the content of all of them.

Returns a new "PPI::Token::Pod" object, or "undef" on error.

lines

The "lines" method takes the string of POD and breaks it into lines, returning them as a list.

Support

See the support section in the main module.

Releases

11 releases since Debian 4.0 (Etch); the text changed 10 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13
  11. Arch

Author

Adam Kennedy <[email protected]>

From perl-ppi 1.291-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.