line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Faker::Plugin::JaJp::PersonLastNameAscii; |
2
|
|
|
|
|
|
|
|
3
|
6
|
|
|
6
|
|
24723
|
use 5.018; |
|
6
|
|
|
|
|
31
|
|
4
|
|
|
|
|
|
|
|
5
|
6
|
|
|
6
|
|
40
|
use strict; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
126
|
|
6
|
6
|
|
|
6
|
|
38
|
use warnings; |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
161
|
|
7
|
|
|
|
|
|
|
|
8
|
6
|
|
|
6
|
|
40
|
use Venus::Class 'base'; |
|
6
|
|
|
|
|
19
|
|
|
6
|
|
|
|
|
47
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
base 'Faker::Plugin::JaJp'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our $VERSION = '1.18'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# METHODS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub execute { |
19
|
17
|
|
|
17
|
1
|
1128
|
my ($self, $data) = @_; |
20
|
|
|
|
|
|
|
|
21
|
17
|
|
|
|
|
58
|
return $self->faker->random->select(data_for_last_name_ascii()); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub data_for_last_name_ascii { |
25
|
17
|
|
|
17
|
0
|
117
|
state $last_name_ascii = [ |
26
|
|
|
|
|
|
|
'aota', |
27
|
|
|
|
|
|
|
'aoyama', |
28
|
|
|
|
|
|
|
'ishida', |
29
|
|
|
|
|
|
|
'idaka', |
30
|
|
|
|
|
|
|
'ito', |
31
|
|
|
|
|
|
|
'uno', |
32
|
|
|
|
|
|
|
'ekoda', |
33
|
|
|
|
|
|
|
'ogaki', |
34
|
|
|
|
|
|
|
'kato', |
35
|
|
|
|
|
|
|
'kanou', |
36
|
|
|
|
|
|
|
'kijima', |
37
|
|
|
|
|
|
|
'kimura', |
38
|
|
|
|
|
|
|
'kiriyama', |
39
|
|
|
|
|
|
|
'kudo', |
40
|
|
|
|
|
|
|
'koizumi', |
41
|
|
|
|
|
|
|
'kobayashi', |
42
|
|
|
|
|
|
|
'kondo', |
43
|
|
|
|
|
|
|
'saito', |
44
|
|
|
|
|
|
|
'sakamoto', |
45
|
|
|
|
|
|
|
'sasaki', |
46
|
|
|
|
|
|
|
'sato', |
47
|
|
|
|
|
|
|
'sasada', |
48
|
|
|
|
|
|
|
'suzuki', |
49
|
|
|
|
|
|
|
'sugiyama', |
50
|
|
|
|
|
|
|
'takahashi', |
51
|
|
|
|
|
|
|
'tanaka', |
52
|
|
|
|
|
|
|
'tanabe', |
53
|
|
|
|
|
|
|
'tsuda', |
54
|
|
|
|
|
|
|
'nakajima', |
55
|
|
|
|
|
|
|
'nakamura', |
56
|
|
|
|
|
|
|
'nagisa', |
57
|
|
|
|
|
|
|
'nakatsugawa', |
58
|
|
|
|
|
|
|
'nishinosono', |
59
|
|
|
|
|
|
|
'nomura', |
60
|
|
|
|
|
|
|
'harada', |
61
|
|
|
|
|
|
|
'hamada', |
62
|
|
|
|
|
|
|
'hirokawa', |
63
|
|
|
|
|
|
|
'fujimoto', |
64
|
|
|
|
|
|
|
'matsumoto', |
65
|
|
|
|
|
|
|
'miyake', |
66
|
|
|
|
|
|
|
'miyazawa', |
67
|
|
|
|
|
|
|
'murayama', |
68
|
|
|
|
|
|
|
'yamagishi', |
69
|
|
|
|
|
|
|
'yamaguchi', |
70
|
|
|
|
|
|
|
'yamada', |
71
|
|
|
|
|
|
|
'yamamoto', |
72
|
|
|
|
|
|
|
'yoshida', |
73
|
|
|
|
|
|
|
'yoshimoto', |
74
|
|
|
|
|
|
|
'wakamatsu', |
75
|
|
|
|
|
|
|
'watanabe', |
76
|
|
|
|
|
|
|
] |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
1; |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 NAME |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Faker::Plugin::JaJp::PersonLastNameAscii - Person Last Name Ascii |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=cut |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 ABSTRACT |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Person Last Name Ascii for Faker |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=cut |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 VERSION |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
1.18 |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=cut |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head1 SYNOPSIS |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
package main; |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
use Faker::Plugin::JaJp::PersonLastNameAscii; |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::JaJp::PersonLastNameAscii->new; |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::JaJp::PersonLastNameAscii") |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=cut |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head1 DESCRIPTION |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
This package provides methods for generating fake data for person last name ascii. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=encoding utf8 |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=cut |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head1 INHERITS |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
This package inherits behaviors from: |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
L |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=cut |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head1 METHODS |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
This package provides the following methods: |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=cut |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head2 execute |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
execute(HashRef $data) (Str) |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
The execute method returns a returns a random fake person last name ascii. |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
I> |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=over 4 |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=item execute example 1 |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
package main; |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
use Faker::Plugin::JaJp::PersonLastNameAscii; |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::JaJp::PersonLastNameAscii->new; |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::JaJp::PersonLastNameAscii") |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
# 'saito'; |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
# 'sasada'; |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
# 'yamagishi'; |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=back |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
=cut |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=head2 new |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
new(HashRef $data) (Plugin) |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
The new method returns a new instance of the class. |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
I> |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=over 4 |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=item new example 1 |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
package main; |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
use Faker::Plugin::JaJp::PersonLastNameAscii; |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::JaJp::PersonLastNameAscii->new; |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::JaJp::PersonLastNameAscii") |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=back |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
=cut |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=head1 AUTHORS |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
Awncorp, C |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
=cut |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
=head1 LICENSE |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
Copyright (C) 2000, Al Newkirk. |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
This program is free software, you can redistribute it and/or modify it under |
206
|
|
|
|
|
|
|
the terms of the Apache license version 2.0. |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
=cut |