Perl::Critic::Utils::POD::ParseInteriorSequence(3pm)

Perl::Critic::Utils::POD::ParseInteriorSequence3pm

Pod::parser subclass to find all interior sequences.

Usage

    use Perl::Critic::Utils::POD::ParseInteriorSequence;
    my $parser = Perl::Critic::Utils::POD::ParseInteriorSequence->new();
    my @sequences = $parser->parse_interior_sequences(
        $pod->content() );

Overview

Provides a means to extract interior sequences from POD text.

Interface support

This module is considered to be private to Perl::Critic. It can be changed or removed without notice.

Methods

"get_interior_sequences( $pod_text )"

Returns an array of all the interior sequences from a given chunk of POD text, represented as Pod::InteriorSequence objects. The POD text is assumed to begin with a POD command (e.g. "=pod").

"interior_sequence( $seq_cmd, $seq_arg, $pod_seq )"

Overrides the parent's method of the same name. Stashes the $pod_seq argument, which is a "Pod::InteriorSequence" object, so that "get_interior_sequences()" has access to it.

Releases

5 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11

Author

Thomas R. Wyant, III wyant at cpan dot org

From libperl-critic-perl 1.138-2 in Debian 11 (Bullseye). Parsed by carta from the page's man source.