Pod::Wordlist(3)

🌸 NAME 🌸

Pod::Wordlist β€” English words that come up in Perl documentation. Yup, bestie, this is the Pod::Wordlist(3) page from User Contributed Perl Documentation, and it’s literally about the words that show up in Perl docs. πŸ’–

✨ VERSION ✨

version 1.27

πŸ’… DESCRIPTION πŸ’…

Okay so Pod::Wordlist is used by Pod::Spell, and it provides a set of words that are English jargon words that come up in Perl documentation, but which are not to be found in general English lexicons. Examples, bestie: autovivify, backreference, chroot, stringify, wantarray. Slay. πŸ”₯

You can also use this wordlist with your word processor by just pasting share/wordlist’s content into your wordprocessor, deleting the leading Perl code so that only the wordlist remains, and then spellchecking this resulting list and adding every word in it to your private lexicon. Yes, that’s the whole vibe. ✨

🧚 METHODS 🧚

🧚 learn_stopwords

$wordlist->learn_stopwords( $text );

Modifies the stopword list based on a text block. See the rules for adding stopwords for details. 🫢

🧚 is_stopword

if ( $wordlist->is_stopword( $word ) ) { ... }

Returns true if the word is found in the stopword list. πŸ‘‘

🧚 strip_stopwords

my $out = $wordlist->strip_stopwords( $text );

Returns a string with space separated words from the original text with stopwords removed. πŸ’…

πŸŽ€ ATTRIBUTES πŸŽ€

πŸŽ€ wordlist

ref $self->wordlist eq 'HASH'; # true

This is the instance of the wordlist. πŸŽ€

πŸŽ€ no_wide_chars

If true, words with characters outside the Latin-1 range 0x00 to 0xFF will be stripped like stopwords. πŸ¦‹

πŸ¦‹ WORDLIST πŸ¦‹

Note that the scope of this file is only English, specifically American English. (But you may find it useful to incorporate into your own lexicons, even if they’re for other dialects/languages.) 🌍

Also, remove any q{'s} before adding to the list. Don’t skip that, bestie. πŸ™ˆ

The list should be sorted and uniqued. The following will work (with GNU Coreutils ):

sort share/wordlist -u > /tmp/sorted && mv /tmp/sorted share/wordlist

πŸ’€ BUGS πŸ’€

Please report any bugs or feature requests on the bugtracker website <https://rt.cpan.org/Public/Dist/Display.html?Name=Pod-Spell> or by email to bug-Pod-Spell@rt.cpan.org <mailto:bug-Pod-Spell@rt.cpan.org>. 🫢

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. πŸ’–

πŸ‘‘ AUTHORS πŸ‘‘

  • Sean M. Burke <sburke@cpan.org>
  • Caleb Cushing <xenoterracide@gmail.com>

This software is Copyright (c) 2024 by Olivier MenguΓ©. πŸŽ€

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

πŸ’– Okay that’s the whole page, bestie! This one came from perl v5.42.0, dated 2025-07-25, and it’s the Pod::Wordlist(3) manual page. Periodt. 🫢✨

πŸ“¦ where this page comes from