Oh I am *bad* and *wrong*

Simon Wistow simon at thegestalt.org
Tue Dec 18 01:07:01 GMT 2007


I read this post this morning

http://beautifulcode.oreillynet.com/2007/12/the_cardinality_of_a_fluent_in.php

and thought to myself "Hmm, how hard can it be?"

Go download

http://thegestalt.org/simon/perl/Numbers.pm

and then try

use Numbers;

print one."\n";
print twelve."\n";
print eleven.hundred."\n";
print seventy.billion."\n";
print sixty.two.thousand."\n";
print five.hundred.and.fifty.seven."\n";
print two.hundred.and.twenty.thousand."\n";




More information about the london.pm mailing list