NAME
ArrayData::Lingua::Word::ID::Katla - Wordle words (Indonesian)
VERSION
This document describes version 20220306.0.1 of ArrayData::Lingua::Word::ID::Katla (from Perl distribution ArrayData-Lingua-Word-ID-Wordle), released on 2022-03-27.
SYNOPSIS
use ArrayData::Lingua::Word::ID::Katla;
my $ary = ArrayData::Lingua::Word::ID::Katla->new;
# Iterate the elements
$ary->reset_iterator;
while ($ary->has_next_item) {
my $element = $ary->get_next_item;
... # do something with the element
}
# Another way to iterate
$ary->each_item(sub { my ($item, $obj, $pos) = @_; ... }); # return false in anonsub to exit early
# Get elements by position (array index)
my $element = $ary->get_item_at_pos(0); # get the first element
my $element = $ary->get_item_at_pos(90); # get the 91th element, will die if there is no element at that position.
# Get number of elements in the list
my $count = $ary->get_item_count;
# Get all elements from the list
my @all_elements = $ary->get_all_items;
# Find an item.
my @found = $ary->find_item(item => 'foo');
my $has_item = $ary->has_item('foo'); # bool
# Pick one or several random elements.
my $element = $ary->pick_item;
my @elements = $ary->pick_items(n=>3);
DESCRIPTION
This is the list of words used in Katla[1] (an Indonesian variant of the Wordle[2] game), retrieved from its source code. It can be used as a source of words for other writing games, or for doing some analysis.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/ArrayData-Lingua-Word-ID-Wordle.
SOURCE
Source repository is at https://github.com/perlancar/perl-ArrayData-Lingua-Word-ID-Wordle.
SEE ALSO
[2] https://www.nytimes.com/games/wordle/index.html
This word list in WordList form: WordList::ID::Katla.
Other ArrayData::Lingua::Word::ID::*
like ArrayData::Lingua::Word::ID::KBBI.
Other ArrayData::Lingua::Word::*::Wordle
like ArrayData::Lingua::Word::EN::Wordle.
AUTHOR
perlancar <perlancar@cpan.org>
CONTRIBUTING
To contribute, you can send patches by email/via RT, or send pull requests on GitHub.
Most of the time, you don't need to build the distribution yourself. You can simply modify the code, then test via:
% prove -l
If you want to build the distribution (e.g. to try to install it locally on your system), you can install Dist::Zilla, Dist::Zilla::PluginBundle::Author::PERLANCAR, and sometimes one or two other Dist::Zilla plugin and/or Pod::Weaver::Plugin. Any additional steps required beyond that are considered a bug and can be reported to me.
COPYRIGHT AND LICENSE
This software is copyright (c) 2022 by perlancar <perlancar@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=ArrayData-Lingua-Word-ID-Wordle
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.