NAME

Lingua::RU::Numeric::Declension - Chooses variant of declension dependent on the number

SYNOPSIS

use Lingua::RU::Numeric::Declension "numdecl";
printf "%i %s", 38, numdecl(38, 'попугай', 'попугая', 'попугаев');

ABSTRACT

Lingua::RU::Numeric::Declension chooses which version of a word form to use this a particular number.

DESCRIPTION

Module exports the only subroutine numdecl which accepts the number and three forms of a word related to that number. Return value is always a string with one of the given forms, result does not contain the number itself. These forms must appear in subroutine call in the following order: nominative case, genitive case and plural form. Use simple mnemonic rule to remember the order: instead of thinking of grammar cases, just substitute word forms which should be used with numbers 1, 2 and 5.

AUTHOR

Andrew Shitov, <andy@shitov.ru>

COPYRIGHT AND LICENSE

Lingua::RU::Numeric::Declension module is a free software. You may redistribute and (or) modify it under the same terms as Perl.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 36:

Non-ASCII character seen before =encoding in ''попугай','. Assuming UTF-8