App-wordlist
view release on metacpan or search on metacpan
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.
* lcpan => *bool*
Use local CPAN mirror first when available (for -L).
* len => *int*
(No description)
* max_len => *int*
(No description)
* min_len => *int*
(No description)
* num => *int* (default: 0)
Return (at most) this number of words (0 = unlimited).
* or => *bool*
Instead of printing words that must match all queries (the default),
print words that match any query.
* random => *bool*
Pick random words.
If set to true, then streaming will be turned off. All words will be
gathered first, then words will be chosen randomly from the gathered
list.
* wordlist_bundles => *array[str]*
Select one or more wordlist bundle
(Acme::CPANModules::WordListBundle::*) modules.
* wordlists => *array[str]*
Select one or more wordlist modules.
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status
code (200 means OK, 4xx caller error, 5xx function error). Second
element ($reason) is a string containing error message, or something
like "OK" if status is 200. Third element ($payload) is the actual
result, but usually not present when enveloped result is an error
response ($status_code is not 2xx). Fourth element (%result_meta) is
called result metadata and is optional, a hash that contains extra
information, much like how HTTP response headers provide additional
metadata.
Return value: (any)
ENVIRONMENT
DEBUG => bool
COLOR => bool
Set color on/off when --color=auto (the default).
HOMEPAGE
Please visit the project's homepage at
<https://metacpan.org/release/App-wordlist>.
SOURCE
Source repository is at
<https://github.com/perlancar/perl-App-wordlist>.
SEE ALSO
App::WordListUtils
App::GamesWordlist (games-wordlist) which greps from
"Games::Word::Wordlist::*" instead.
WordList and "WordList::*" modules.
arraydata from App::arraydata, hashdata from App::hashdata, and
tabledata from App::tabledata. These are newer projects that will
supersede WordList one day.
AUTHOR
perlancar <perlancar@cpan.org>
CONTRIBUTOR
Ryo <roysharyanto@gmail.com>
CONTRIBUTING
To contribute, you can send patches by email/via RT, or send pull
requests on GitHub.
( run in 0.851 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )