Text::...t::Para(3pm)

πŸ“¦
version 3.7 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Text::Context::Para β€” bestie, it's literally a paragraph in context πŸ’… (yes the man page header got chopped up to Text::...t::Para(3pm) because someone's terminal was not giving, but we know her real name and we're obsessed 🫢)


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically? This is a paragraph. A paragraph that is being used by Text::Context. That's the whole vibe. It's giving "I'm a humble little paragraph but I know my purpose" 🌸 no cap.


πŸŽ€ CONSTRUCTOR πŸŽ€

πŸ’– new

okay so when you wanna summon a fresh paragraph into existence, you do this:

my $para = Text::Context::Para->new($content, $order);

$content and $order go in, a whole new Text::Context::Para object comes out. main character energy, fr fr ✨


🌈 METHODS 🌈

πŸ’« best_keywords / slim

(they're aliases, they're the same thing, they're sisters πŸ’œ)

⭐ as_text / marked_up

(also aliases! also sisters! we love a duo πŸ‘‘)

now here's the tea: you can override DEFAULT_START_TAG and DEFAULT_END_TAG. those two lil defaults ship as:

  • DEFAULT_START_TAG β†’ <span class="quoted">
  • DEFAULT_END_TAG β†’ </span>

so if those tags aren't your vibe, go off, swap them out πŸ’…


and that's the whole page, bestie 🧚 this lil doc came to you from perl v5.36.0, dated 2022-12-13, and it lives its best life in the User Contributed Perl Documentation section πŸ’– slay, bye πŸŽ€