Perl::...equence(3pm)

πŸ“¦
version 1.140 Β· 2 versions
, in ubuntu jammy

πŸ’– Perl::...equence(3pm) β€” bestie, come get ur POD interior sequences πŸ’–

okay so real quick, the page name is lowkey cut off in the header because the real one is a whole paragraph long: it's Perl::Critic::Utils::POD::ParseInteriorSequence(3pm), and it lives in the User Contributed Perl Documentation corner of the internet. slay. let's get into it ✨


🌸 NAME 🌸

Perl::Critic::Utils::POD::ParseInteriorSequence β€” it's a Pod::Parser subclass whose whole job is finding all the interior sequences for u 🫢


πŸŽ€ SYNOPSIS πŸŽ€

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

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

literally that's the whole vibe. make a parser, feed it ur POD content, get ur sequences back. iconic. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

it provides a means to extract interior sequences from POD text. that's it, that's the girl. no cap. πŸ’–


πŸ”’ INTERFACE SUPPORT πŸ”’

⚠️ bestie listen. this module is considered to be private to Perl::Critic. it can be changed or removed without notice. so don't go building ur whole personality around it, fr fr. 😭

✨ METHODS ✨

  • get_interior_sequences( $pod_text ) β€” returns an array of all the interior sequences from a given chunk of POD text, and they come back as Pod::InteriorSequence objects πŸ’œ the POD text is assumed to begin with a POD command (e.g. =pod), so don't hand it some random prose and act surprised.
  • interior_sequence( $seq_cmd, $seq_arg, $pod_seq ) β€” overrides the parent's method of the same name 🫑 it stashes the $pod_seq argument, which is a Pod::InteriorSequence object, so that get_interior_sequences() can get its little hands on it. team work makes the dream work, periodt.

πŸ‘‘ AUTHOR πŸ‘‘

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. πŸ“œ


and that's the whole page, bestie!! this was perl v5.32.1, dated 2021-10-15, and it's giving Perl::...equence(3pm) energy forever. mwah πŸ’‹ stay slaying, drink water, go read ur POD 🧚

πŸ“¦ where this page comes from