line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::MetaSyntactic::cluedo; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
140825
|
use strict; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
48
|
|
4
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
59
|
|
5
|
1
|
|
|
1
|
|
5
|
no warnings 'syntax'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
48
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
4
|
use Acme::MetaSyntactic::MultiList; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
160
|
|
8
|
|
|
|
|
|
|
our @ISA = qw [Acme::MetaSyntactic::MultiList]; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '2012060101'; |
11
|
|
|
|
|
|
|
__PACKAGE__ -> init; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Acme::MetaSyntactic::cluedo - Characters, rooms and weapons from Cluedo |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 DESCRIPTION |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
I<< Cluedo >> (or I<< Clue >> as it's known in North America), is a famous |
22
|
|
|
|
|
|
|
detective like board games, where the players have to determine who killed |
23
|
|
|
|
|
|
|
Dr. Black, which weapon was used, and in which room the murder did happen. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
There are three subthemes: |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=over 1 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=item C<< suspects >> |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
This is the default theme, and lists the possible murderers. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item C<< weapon >> |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
The theme that lists the weapons that could have been used to |
36
|
|
|
|
|
|
|
kill Dr. Black. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item C<< room >> |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Lists the rooms of the mansion of Dr. Black in which the murder |
41
|
|
|
|
|
|
|
could have taken place. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=back |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
This module is part of the set of C<< Acme::MetaSyntactic >> themes |
46
|
|
|
|
|
|
|
found in the C<< Acme::MetaSyntactic::Themes::Abigail >> package. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 NOTES |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This module uses the British spelling. So, we have I<< Miss Scarlett >> |
51
|
|
|
|
|
|
|
instead of I<< Miss Scarlet >>; I<< Reverend Green >> instead of |
52
|
|
|
|
|
|
|
I<< Mr. Green >>, a I<< dagger >> instead of a I<< knife >>, a |
53
|
|
|
|
|
|
|
I<< revolver >> instead of a I<< pistol >>, a I<< spanner >> instead |
54
|
|
|
|
|
|
|
of a I<< wrench >>, and the game itself is called I<< Cluedo >> instead |
55
|
|
|
|
|
|
|
of I<< Clue >>. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
While the I<< Cellar >> is on the board, it's not an actual location |
58
|
|
|
|
|
|
|
where the murder could have happened, and as such, isn't part of the |
59
|
|
|
|
|
|
|
theme. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 SEE ALSO |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
L, L. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 AUTHOR |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Abigail, L<< mailto:cpan@abigail.be >>. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENSE |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Copyright (C) 2012 by Abigail. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a |
74
|
|
|
|
|
|
|
copy of this software and associated documentation files (the "Software"), |
75
|
|
|
|
|
|
|
to deal in the Software without restriction, including without limitation |
76
|
|
|
|
|
|
|
the rights to use, copy, modify, merge, publish, distribute, sublicense, |
77
|
|
|
|
|
|
|
and/or sell copies of the Software, and to permit persons to whom the |
78
|
|
|
|
|
|
|
Software is furnished to do so, subject to the following conditions: |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included |
81
|
|
|
|
|
|
|
in all copies or substantial portions of the Software. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
84
|
|
|
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
85
|
|
|
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
86
|
|
|
|
|
|
|
THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
87
|
|
|
|
|
|
|
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT |
88
|
|
|
|
|
|
|
OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
89
|
|
|
|
|
|
|
THE SOFTWARE. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=cut |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
__DATA__ |