Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Rosetta PGA-TRAM

by moritz (Cardinal)
on Jun 13, 2009 at 12:31 UTC ( #771227=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub roman-to-dec($x) {
        state %rtoa = M=>1000, D=>500, C=>100, L=>50, X=>10, V=>5, I=>1;
    ...
    for @testdata -> $r {
        say "$r: ", roman-to-dec($r);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://771227]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-12-25 22:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls