Perl::Critic::Utils::POD::ParseInteriorSequence - Pod::Parser subclass to find all interior sequences.


Perl-Critic documentation  | view source Contained in the Perl-Critic distribution.

Index


NAME

Top

Perl::Critic::Utils::POD::ParseInteriorSequence - Pod::Parser subclass to find all interior sequences.

SYNOPSIS

Top

    use Perl::Critic::Utils::POD::ParseInteriorSequence;

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




DESCRIPTION

Top

Provides a means to extract interior sequences from POD text.

INTERFACE SUPPORT

Top

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

METHODS

Top

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.

AUTHOR

Top

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT

Top


Perl-Critic documentation  | view source Contained in the Perl-Critic distribution.