Subject: | Does not have an ordinate() method that the SYNOPSIS mentions |
According to the SYNOPSIS at https://metacpan.org/pod/Lingua::IT::Numbers the following code should work:
use Lingua::IT::Numbers;
my $number = Lingua::IT::Numbers->new( 123 );
print $number->get_string;
print $number->get_ordinate;
But it does not.
$ perl -Mstrict -Mwarnings -MLingua::IT::Numbers -le 'my $number = Lingua::IT::Numbers->new( 123 ); print $number->get_string; print $number->get_ordinate;'
centoventitre
Can't locate object method "get_ordinate" via package "Lingua::IT::Numbers" at -e line 1.