line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package FormValidator::LazyWay::Rule::String::EN; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
10
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
66
|
|
4
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
232
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub length { |
7
|
5
|
|
|
5
|
1
|
16
|
'minimun $_[min] letters and maximum $_[max] letters', |
8
|
|
|
|
|
|
|
} |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub string { |
11
|
0
|
|
|
0
|
1
|
|
'error', |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub ascii { |
15
|
0
|
|
|
0
|
1
|
|
'alphabet, number, simbol ', |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub nonsymbol_ascii { |
19
|
0
|
|
|
0
|
1
|
|
'alphabet, number', |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub alphabet { |
23
|
0
|
|
|
0
|
1
|
|
'alphabet', |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub number { |
27
|
0
|
|
|
0
|
1
|
|
'number', |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 NAME |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
FormValidator::LazyWay::Rule::String::EN - Messages of String Rule |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 METHOD |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head2 length |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head2 string |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 ascii |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 nonsymbol_ascii |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head2 alphabet |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 number |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=cut |
51
|
|
|
|
|
|
|
|