Perl::Critic::Utils::POD::ParseInteriorSequence - Pod::Parser subclass to find all interior sequences.
use Perl::Critic::Utils::POD::ParseInteriorSequence; my $parser = Perl::Critic::Utils::POD::ParseInteriorSequence->new(); my @sequences = $parser->parse_interior_sequences( $pod->content() );
Provides a means to extract interior sequences from POD text.
This module is considered to be private to Perl::Critic. It can be changed or removed without notice.
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).
=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.
Pod::InteriorSequence
get_interior_sequences()
Thomas R. Wyant, III wyant at cpan dot org
Copyright (c) 2011 Thomas R. Wyant, III
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.
To install Perl::Critic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Critic
CPAN shell
perl -MCPAN -e shell install Perl::Critic
For more information on module installation, please visit the detailed CPAN module installation guide.