App-wordlist-wordle
view release on metacpan or search on metacpan
NAME
App::wordlist::wordle - A wordlist wrapper to help solve Wordle
VERSION
This document describes version 0.295 of App::wordlist::wordle (from
Perl distribution App-wordlist-wordle), released on 2025-03-07.
FUNCTIONS
wordlist_wordle
Usage:
wordlist_wordle(%args) -> [$status_code, $reason, $payload, \%result_meta]
Help solve Wordle.
Examples:
* One guess:
wordlist_wordle(arg => ["cR^eEk"]);
* Five guesses:
wordlist_wordle(arg => ["A^R^isE^", "Pound", "might", "blA^ck", "PR^ivY^"]);
This is a wrapper to wordlist designed to be a convenient helper to
solve Wordle puzzle. By default it greps from the "EN::Wordle" wordlist.
It accepts a series of guesses in a format like the following:
A^R^isE^
Pound
might
blA^ck
PR^ivY^
where lowercase means wrong guess, uppercase means correct letter and
position, while (uppercase) letter followed by a caret ("^") means the
letter exists in another position. It will convert these guesses to
regex patterns and the "--chars-unordered" option and pass it to
"wordlist".
This function is not exported.
Arguments ('*' denotes required arguments):
* arg => *array[str]*
(No description)
* color => *str* (default: "auto")
When to highlight search string/matching pattern with color.
* detail => *bool*
Display more information when listing modules/result.
When listing installed modules ("-l"), this means also returning a
wordlist's language.
When returning grep result, this means also returning wordlist name.
* exclude_dynamic_wordlists => *bool*
(No description)
* exclude_wordlist_pattern => *re_from_str*
(No description)
* exclude_wordlists => *array[str]*
Exclude wordlist modules.
* ignore_case => *bool* (default: 1)
(No description)
* langs => *array[str]*
Only include wordlists of certain language(s).
By convention, language code is the first subnamespace of a wordlist
module, e.g. WordList::EN::* for English, WordList::FR::* for
French, and so on. Wordlist modules which do not follow this
convention (e.g. WordList::Password::* or WordList::PersonName::*)
are not included.
* len => *int* (default: 5)
(No description)
* max_len => *int*
(No description)
* min_len => *int*
( run in 1.532 second using v1.01-cache-2.11-cpan-f4a522933cf )