PPI::Token::Pod - Sections of POD in Perl documents


PPI documentation  | view source Contained in the PPI distribution.

Index


NAME

Top

PPI::Token::Pod - Sections of POD in Perl documents

INHERITANCE

Top

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

DESCRIPTION

Top

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

METHODS

Top

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

Got any ideas for more methods? Submit a report to rt.cpan.org!

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

Top

See the support section in the main module.

AUTHOR

Top

Adam Kennedy <adamk@cpan.org>

COPYRIGHT

Top


PPI documentation  | view source Contained in the PPI distribution.