Skip to content

Instantly share code, notes, and snippets.

@mavit
Created January 17, 2014 15:53
Show Gist options
  • Save mavit/8475760 to your computer and use it in GitHub Desktop.
Save mavit/8475760 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use v5.16;
use warnings;
use bigint;
use Lingua::EN::Numbers;
sub output {
my $i = shift;
say $i, "\t", Lingua::EN::Numbers::num2en($i);
}
foreach my $i ( 0..99 ) {
output($i);
}
for ( my $i = 100; $i < 10**33; $i += int rand(2 * $i) ) {
output($i);
}
@mavit
Copy link
Author

mavit commented Jan 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment