Lingua::Awkwords::ListOf - container for a list of items
This module is not typically used directly, as it will be created and called as part of the pattern parse and then render phases of other code.
Container object for a list of items; upon render these items will each have render call on them and that concatenated result (minus anything excluded by filters) will be returned as a string.
List of filters, if any.
String to replaced filtered values with, the empty string by default.
Items of the list are held here as an array reference.
Adds the given list of value to the terms.
Adds one or more strings as a filter for the render phase. These limit what a unit can generate e.g. to remove repeated vowels from a [VV] pattern via [VV]^aa.
[VV]
[VV]^aa
Constructor.
Calls render on turn on each item in the terms list, joins those results together, applies any filters, and returns that string result.
Calls the callback function with itself as the argument, then calls walk on all of the available terms.
Please report any bugs or feature requests to bug-lingua-awkwords at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Lingua-Awkwords.
bug-lingua-awkwords at rt.cpan.org
Patches might best be applied towards:
https://github.com/thrig/Lingua-Awkwords
None at this time.
Lingua::Awkwords, Lingua::Awkwords::Parser
thrig - Jeremy Mates (cpan:JMATES) <jmates at cpan.org>
<jmates at cpan.org>
Copyright (C) 2017 by Jeremy Mates
This program is distributed under the (Revised) BSD License: http://www.opensource.org/licenses/BSD-3-Clause
To install Lingua::Awkwords, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::Awkwords
CPAN shell
perl -MCPAN -e shell install Lingua::Awkwords
For more information on module installation, please visit the detailed CPAN module installation guide.