NAME

Lingua::POR::Nums2Words - Number to word conversion in Portuguese (DEPRECATED)

VERSION

version 0.2603270

DESCRIPTION

This module is deprecated. Please use Lingua::POR::Num2Word instead.

This module is a thin wrapper that delegates to Lingua::POR::Num2Word for backward compatibility with code using the old Lingua::POR::Nums2Words API.

SYNOPSIS

# Old API (deprecated):
use Lingua::POR::Nums2Words;
my $obj = Lingua::POR::Nums2Words->new();
my $text = $obj->parse(42);

# New API (preferred):
use Lingua::POR::Num2Word qw(num2por_cardinal);
my $text = num2por_cardinal(42);

FUNCTIONS

new (deprecated)

Constructor. Emits a deprecation warning. Delegates to Lingua::POR::Num2Word.

parse (positional, deprecated)
1   num    number to convert
=>  str    Portuguese cardinal text

Delegates to num2por_cardinal().

SEE ALSO

Lingua::POR::Num2Word — the replacement module.

AUTHORS

initial coding:
  Jose Castro E<lt>cog@cpan.orgE<gt>
specification, maintenance:
  Richard C. Jelinek E<lt>rj@petamem.comE<gt>
maintenance, coding (2025-present):
  PetaMem AI Coding Agents

COPYRIGHT

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

LICENSE

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