logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Pod::PseudoPod - A framework for parsing PseudoPod

Author

       Allison Randal <allison@perl.org>

perl v5.36.0                                       2022-10-16                                Pod::PseudoPod(3pm)

Description

       PseudoPod is an extended set of Pod tags used for book manuscripts.  Standard Pod doesn't have all the
       markup options you need to mark up files for publishing production. PseudoPod adds a few extra tags for
       footnotes, tables, sidebars, etc.

       This class adds parsing support for the PseudoPod tags. It also overrides Pod::Simple's
       "_handle_element_start", "_handle_text", and "_handle_element_end" methods so that parser events are
       turned into method calls.

       In general, you'll only want to use this module as the base class for a PseudoPod formatter/processor.

Name

       Pod::PseudoPod - A framework for parsing PseudoPod

See Also

       Pod::Simple, Pod::PseudoPod::HTML, Pod::PseudoPod::Tutorial

Synopsis

         use strict;
         package SomePseudoPodFormatter;
         use base qw(Pod::PseudoPod);

         sub handle_text {
           my($self, $text) = @_;
           ...
         }

         sub start_head1 {
           my($self, $flags) = @_;
           ...
         }
         sub end_head1 {
           my($self) = @_;
          ...
         }

         ...and start_*/end_* methods for whatever other events you
         want to catch.

See Also