line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::MilkyHolmes; |
2
|
3
|
|
|
3
|
|
2305
|
use 5.008005; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
95
|
|
3
|
3
|
|
|
3
|
|
10
|
use strict; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
66
|
|
4
|
3
|
|
|
3
|
|
10
|
use warnings; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
71
|
|
5
|
3
|
|
|
3
|
|
1218
|
use parent qw(Exporter); |
|
3
|
|
|
|
|
822
|
|
|
3
|
|
|
|
|
13
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = "0.04"; |
8
|
|
|
|
|
|
|
|
9
|
3
|
|
|
3
|
|
1159
|
use Acme::MilkyHolmes::Character::SherlockShellingford; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
101
|
|
10
|
3
|
|
|
3
|
|
1055
|
use Acme::MilkyHolmes::Character::NeroYuzurizaki; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
77
|
|
11
|
3
|
|
|
3
|
|
1041
|
use Acme::MilkyHolmes::Character::HerculeBarton; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
80
|
|
12
|
3
|
|
|
3
|
|
996
|
use Acme::MilkyHolmes::Character::CordeliaGlauca; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
76
|
|
13
|
3
|
|
|
3
|
|
967
|
use Acme::MilkyHolmes::Character::KazumiTokiwa; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
86
|
|
14
|
3
|
|
|
3
|
|
1071
|
use Acme::MilkyHolmes::Character::AliceMyojingawa; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
73
|
|
15
|
3
|
|
|
3
|
|
1394
|
use Readonly; |
|
3
|
|
|
|
|
6994
|
|
|
3
|
|
|
|
|
663
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Readonly our $MilkyHolmesFeathers => [ |
18
|
|
|
|
|
|
|
'KazumiTokiwa', |
19
|
|
|
|
|
|
|
'AliceMyojingawa', |
20
|
|
|
|
|
|
|
]; |
21
|
|
|
|
|
|
|
Readonly our $MilkyHolmes => [ |
22
|
|
|
|
|
|
|
'SherlockShellingford', |
23
|
|
|
|
|
|
|
'NeroYuzurizaki', |
24
|
|
|
|
|
|
|
'HerculeBarton', |
25
|
|
|
|
|
|
|
'CordeliaGlauca', |
26
|
|
|
|
|
|
|
]; |
27
|
|
|
|
|
|
|
Readonly our $MilkyHolmesSisters => [ |
28
|
|
|
|
|
|
|
@{ $MilkyHolmes }, |
29
|
|
|
|
|
|
|
@{ $MilkyHolmesFeathers }, |
30
|
|
|
|
|
|
|
]; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
our @EXPORT_OK = qw($MilkyHolmes $MilkyHolmesFeathers $MilkyHolmesSisters); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub members { |
36
|
2
|
|
|
2
|
1
|
2853
|
my ($class, %options) = @_; |
37
|
2
|
|
|
|
|
10
|
return $class->members_of($MilkyHolmes, %options); |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub members_of { |
41
|
8
|
|
|
8
|
1
|
11669
|
my ($class, $team, %options) = @_; |
42
|
|
|
|
|
|
|
|
43
|
8
|
|
|
|
|
43
|
my @members = (); |
44
|
8
|
|
|
|
|
8
|
for my $member_name ( @{ $team } ) { |
|
8
|
|
|
|
|
17
|
|
45
|
32
|
|
|
|
|
51
|
my $pkg = "Acme::MilkyHolmes::Character::$member_name"; |
46
|
32
|
|
|
|
|
328
|
my $member = $pkg->new(); |
47
|
32
|
100
|
|
|
|
202
|
$member->locale($options{locale}) if ( exists $options{locale} ); |
48
|
32
|
|
|
|
|
63
|
push @members, $member; |
49
|
|
|
|
|
|
|
} |
50
|
8
|
|
|
|
|
30
|
return @members; |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
1; |
55
|
|
|
|
|
|
|
__END__ |