
Lingua::PT::Nums2Ords - Converts numbers to Portuguese ordinals

use Lingua::PT::Nums2Ords qw/num2ord/; $ord = num2ord(20) # "vigesimo" @ord = num2ord(1,2,3) # qw(primeiro segundo terceiro)

Converts numbers to Portuguese ordinals. Works up to 999.999.999.999 ('novecentos e noventa e nove bilionesimos novecentos e noventa e nove milionesimos novecentos e noventa e nove milesimos nongentesimo nonagesimo nono').
This is the only function in the module. It turns a number into an ordinal.
$ord = num2ord(2) # $ord now holds "segundo"

Lingua::PT::Nums2Words

More tools for the Portuguese language processing can be found at the Natura project: http://natura.di.uminho.pt

Jose Castro, <cog@cpan.org>

Copyright 2004 Jose Castro, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.