http://qs1969.pair.com?node_id=1085825


in reply to At the risk of saying something stupid-but-obvious about Roman Numerals

sundialsvc4,
Something seems fishy with your code.
my $roman = "MCCMLXXIV"; #1874
Shouldn't that be MDCCCLXXIV? I am pretty sure what you have isn't valid.

Cheers - L~R