RosettaCodeData/Task/Nth/Perl/nth-2.pl

5 lines
121 B
Perl
Raw Permalink Normal View History

2015-02-20 09:02:09 -05:00
use Lingua::EN::Numbers::Ordinate 'ordinate';
foreach my $i (0..25, 250..265, 1000..1025) {
print ordinate($i),"\n";
}