line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Data::Gimei; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
3387
|
use warnings; |
|
5
|
|
|
|
|
28
|
|
|
5
|
|
|
|
|
118
|
|
4
|
5
|
|
|
5
|
|
44
|
use v5.22; |
|
5
|
|
|
|
|
14
|
|
5
|
|
|
|
|
|
|
|
6
|
5
|
|
|
5
|
|
1735
|
use version; our $VERSION = version->declare("v0.2.0"); |
|
5
|
|
|
|
|
7808
|
|
|
5
|
|
|
|
|
23
|
|
7
|
|
|
|
|
|
|
|
8
|
5
|
|
|
5
|
|
2003
|
use Data::Gimei::Name; |
|
5
|
|
|
|
|
13
|
|
|
5
|
|
|
|
|
128
|
|
9
|
5
|
|
|
5
|
|
1656
|
use Data::Gimei::Address; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
115
|
|
10
|
5
|
|
|
5
|
|
1541
|
use Data::Gimei::Word; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
111
|
|
11
|
5
|
|
|
5
|
|
1572
|
use Data::Gimei::Random; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
399
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
my $r = Data::Gimei::Random->new; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub set_random_seed { |
16
|
4
|
|
|
4
|
0
|
1343
|
my $seed = shift; |
17
|
4
|
|
|
|
|
13
|
$r->set_seed($seed); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub sample { |
21
|
50
|
|
|
50
|
0
|
65
|
my $array = shift; |
22
|
50
|
|
|
|
|
93
|
return $r->next_sample($array); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |