NAME

WordListMod - Modified wordlist

VERSION

This document describes version 0.002 of WordListMod (from Perl distribution WordListMod), released on 2020-05-01.

SYNOPSIS

use WordListMod qw(get_mod_wordlist);

my $wl = get_mod_wordlist('EN::Foo', 'Bloom');
$wl->word_exists("foo");

DESCRIPTION

EXPERIMENTAL.

This module instantiates a wordlist class (WordList::*) then applies per-object patches from one or more mod's (WordListMod::* modules).

FUNCTIONS

None of the functions are exported by default, but they are exportable.

get_mod_wordlist

Usage:

get_mod_wordlist($wl_mod, @mod_mods) => obj

Instantiate a wordlist class (WordList::<$wl_mod>) then apply the patches from zero or more "mod" modules (modules in WordListMod::* namespace). The patches are per-object.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/WordListMod.

SOURCE

Source repository is at https://github.com/perlancar/perl-WordListMod.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=WordListMod

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.

SEE ALSO

WordList

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020, 2018 by 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.