[Melbourne-pm] Roman numerals & assessing a CPAN module

Brad Bowman list at bereft.net
Thu Dec 10 19:18:11 PST 2009


Myf White wrote:
> I need to convert roman numerals to arabic, and there seem to be quite a 
> few modules on the CPAN which can do this. So, has anyone used any of 
> these and have any recommendations?
[..]

Someone solved:
   http://projecteuler.net/index.php?section=problems&id=89
with Math::Roman.

Although there was a later comment:

Both the Perl modules Roman and Math::Roman barf on roman.txt, so I had to
write my own roman->arabic converter. Then I used Math::Roman to convert
arabic->minimal roman. (Roman doesn't like numbers over 4000). Here's the bulk
of the roman->arabic converter [...]

> What methods do you use for assessing candidate modules?

A thread concentrating on the red flags:
  http://www.perlmonks.org/index.pl?node_id=278327

Brad



More information about the Melbourne-pm mailing list