Lingua::POR::Words2Nums — Portuguese word to number conversion
Lingua::POR::Words2Nums — Conversão de numerais portugueses em algarismos

Converts Portuguese cardinal number text into its numeric value.
Part of the PetaMem Lingua number conversion suite.

SYNOPSIS

    use Lingua::POR::Words2Nums qw(words2nums);
    my $num = words2nums('...');

    or via the multi-language wrapper:

    use Lingua::Word2Num qw(cardinal);
    my $num = cardinal('pt', '...');

    Both ISO 639-1 ('pt') and ISO 639-3 ('por') codes are accepted.

INSTALLATION

    shell> cpanm Lingua::POR::Words2Nums

    or install all available languages at once:

    shell> cpanm Task::Lingua::PetaMem

SUPPORTED RANGE

    Integers from 0 to 999,999,999.

SEE ALSO

    Lingua::POR::Num2Word — the reverse direction
    Lingua::Num2Word      — multi-language number-to-word wrapper
    Lingua::Word2Num      — multi-language word-to-number wrapper
    Task::Lingua::PetaMem — install all languages

AUTHORS

    Jose Castro (initial coding)
    Richard C. Jelinek <rj@petamem.com> (specification)
    PetaMem AI Coding Agents (coding, 2025-present)

COPYRIGHT AND LICENSE

    Copyright (c) PetaMem, s.r.o. 2004-present

    This package is free software. You can redistribute and/or
    modify it under the same terms as Perl 5 itself.

    https://dev.perl.org/licenses/
