line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package FormValidator::LazyWay::Rule::String::JA; |
2
|
|
|
|
|
|
|
|
3
|
12
|
|
|
12
|
|
63
|
use strict; |
|
12
|
|
|
|
|
26
|
|
|
12
|
|
|
|
|
378
|
|
4
|
12
|
|
|
12
|
|
66
|
use warnings; |
|
12
|
|
|
|
|
24
|
|
|
12
|
|
|
|
|
268
|
|
5
|
12
|
|
|
12
|
|
57
|
use utf8; |
|
12
|
|
|
|
|
22
|
|
|
12
|
|
|
|
|
99
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub length { |
8
|
15
|
|
|
15
|
1
|
50
|
'$_[min]文字以上$_[max]文字以下', |
9
|
|
|
|
|
|
|
} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub stash_test { |
12
|
2
|
|
|
2
|
0
|
5
|
'これ、テスト用です。'; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub ascii { |
16
|
11
|
|
|
11
|
1
|
35
|
'英数字と記号、空白', |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub nonsymbol_ascii { |
20
|
0
|
|
|
0
|
1
|
|
'英数字のみ', |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub alphabet { |
24
|
0
|
|
|
0
|
1
|
|
'アルファベット', |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub number { |
28
|
0
|
|
|
0
|
1
|
|
'半角数字', |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 NAME |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
FormValidator::LazyWay::Rule::String::JA - Messages of String Rule |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 METHOD |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 length |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 string |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 ascii |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 nonsymbol_ascii |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head2 alphabet |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 number |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=cut |
52
|
|
|
|
|
|
|
|