summaryrefslogtreecommitdiff
path: root/dist/Locale-Maketext
diff options
context:
space:
mode:
authorThomas Sibley <tsibley@cpan.org>2011-12-16 09:55:14 -0500
committerFather Chrysostomos <sprout@cpan.org>2011-12-16 09:54:18 -0800
commitbe5515fa903a6543e752aca5bc8d7da2b42617b6 (patch)
treee84994defb12b75f6712b04cf45dd6fd3adcbd71 /dist/Locale-Maketext
parent5669035a817397b7fb06505e3085a0a8084bdc20 (diff)
downloadperl-be5515fa903a6543e752aca5bc8d7da2b42617b6.tar.gz
Document Locale::Maketext's numerate method
Previously this was only implicitly documented by a passing reference to it a subsequent section.
Diffstat (limited to 'dist/Locale-Maketext')
-rw-r--r--dist/Locale-Maketext/lib/Locale/Maketext.pod8
1 files changed, 8 insertions, 0 deletions
diff --git a/dist/Locale-Maketext/lib/Locale/Maketext.pod b/dist/Locale-Maketext/lib/Locale/Maketext.pod
index 1d3fb2591a..3ef9c3a5a9 100644
--- a/dist/Locale-Maketext/lib/Locale/Maketext.pod
+++ b/dist/Locale-Maketext/lib/Locale/Maketext.pod
@@ -386,6 +386,14 @@ entirely.
Note that numf is called by quant for stringifying all quantifying
numbers.
+=item $language->numerate($number, $singular, $plural, $negative)
+
+This returns the given noun form which is appropriate for the quantity
+C<$number> according to this language's conventions. C<numerate> is
+used internally by C<quant> to quantify nouns. Use it directly --
+usually from bracket notation -- to avoid C<quant>'s implicit call to
+C<numf> and output of a numeric quantity.
+
=item $language->sprintf($format, @items)
This is just a wrapper around Perl's normal C<sprintf> function.