line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::MetaSyntactic::roman; |
2
|
1
|
|
|
1
|
|
94411
|
use strict; |
|
1
|
|
|
|
|
14
|
|
|
1
|
|
|
|
|
65
|
|
3
|
1
|
|
|
1
|
|
16
|
use Acme::MetaSyntactic::List; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
97
|
|
4
|
|
|
|
|
|
|
our @ISA = qw( Acme::MetaSyntactic::List ); |
5
|
|
|
|
|
|
|
our $VERSION = '1.000'; |
6
|
|
|
|
|
|
|
__PACKAGE__->init(); |
7
|
|
|
|
|
|
|
1; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=encoding iso-8859-1 |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Acme::MetaSyntactic::roman - The roman theme |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 DESCRIPTION |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Roman numbers from I to MMMCMXCIX. |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
According to the modern rules governing the Roman Numbers, a numerical |
20
|
|
|
|
|
|
|
symbol cannot appear more than three times in a contiguous row. Also, |
21
|
|
|
|
|
|
|
the modern rules have forgotten the symbols for 5000 and more, so |
22
|
|
|
|
|
|
|
the highest symbol is M for 1000. From that, you can conclude that |
23
|
|
|
|
|
|
|
the highest Roman number compatible with modern rules is MMMCMXCIX, |
24
|
|
|
|
|
|
|
that is, 3999. See |
25
|
|
|
|
|
|
|
L. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 CONTRIBUTOR |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Alberto Manuel Brandão Simões. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 CHANGES |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=over 4 |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=item * |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
2012-05-07 - v1.000 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Updated with roman numbers up to 3999 and an explanation about this |
40
|
|
|
|
|
|
|
limit by Jean Forget, and |
41
|
|
|
|
|
|
|
received its own version number in Acme-MetaSyntactic-Themes version 1.000. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=item * |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
2005-10-10 |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Introduced in Acme-MetaSyntactic version 0.43. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item * |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
2005-09-06 |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
List proposed by Alberto Manuel Brandão Simões. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=back |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 SEE ALSO |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
L, L. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
__DATA__ |