Plucen...::Term(3pm)

πŸ“¦
version 1.25 Β· 2 versions
  • 1.25 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.25 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Plucene::Index::Term β€” a word from text πŸ’–

okay bestie, welcome to Plucen...::Term(3pm) πŸ’… (yes that's the whole name squished into the terminal header, the real one is Plucene::Index::Term, she's just long and the terminal is a hater). This one lives in the User Contributed Perl Documentation corner of your man pages, and she is tiny but mighty. Let's go 🌸


✨ NAME ✨

Plucene::Index::Term β€” a word from text 🫢


✨ SYNOPSIS ✨

here's the whole vibe, no notes:

my $term = Plucene::Index::Term->new({
                field => $field_name,
                text  => $text,
});

# with two Plucene::Index::Term objects you can do:

if ($term1->eq($term2)) { ... }

# etc

literally that's it, she's low maintenance πŸ’œ


✨ DESCRIPTION ✨

so a Term is a word from text, and she is the unit of search ✨ like, when you search stuff, this is the lil guy doing the work. iconic behavior tbh.

she's made of exactly two elements:

  • the text of the word, as a string πŸŽ€
  • the name of the field that the text occured in, as a string πŸŽ€

and bestie, don't let the name fool you into thinking it's only actual human words β€” terms can represent way more than words from text fields. think dates, email addresses, urls, etc. she contains multitudes fr fr πŸ¦‹


✨ METHODS ✨

eq / ne / lt / gt / ge / le 🌈

Exactly what you would think they are. πŸ’…

no cap. that's the whole description. she said what she said, periodt. πŸ‘‘


ngl the whole module is giving "small but essential" energy and I'm obsessed πŸ₯Ί

that's the page bestie, go forth and search πŸ’– this cutie came to you from perl v5.36.0, dated 2022-12-04, and the page you just read is Plucen...::Term(3pm) πŸŽ€ mwah, bye! πŸ’…βœ¨

πŸ“¦ where this page comes from