Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

(jcwren) RE: Adding 2 + 2

by jcwren (Prior)
on Sep 11, 2000 at 21:26 UTC ( #31934=note: print w/replies, xml ) Need Help??


in reply to Adding 2 + 2

#!/usr/local/bin/perl -w use strict; use Lingua::EN::Numbers qw(American); { my $v++; my $t=new Lingua::EN::Numbers(++$v); my $f=new Lingua::EN::Numbers($v*$v); print sprintf "Adding %s + %s = %s\n",$t->get_string,$t->get_string +,$f->get_string; }
--Chris

e-mail jcwren

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://31934]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2018-06-25 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (128 votes). Check out past polls.

    Notices?