line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
3
|
2
|
|
|
2
|
|
1222
|
use warnings; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
50
|
|
4
|
2
|
|
|
2
|
|
9
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
63
|
|
5
|
|
|
|
|
|
|
use Moo; |
6
|
2
|
|
|
2
|
|
10
|
use utf8; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
10
|
|
7
|
2
|
|
|
2
|
|
599
|
use namespace::clean; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
9
|
|
8
|
2
|
|
|
2
|
|
49
|
|
|
2
|
|
|
|
|
17
|
|
|
2
|
|
|
|
|
12
|
|
9
|
|
|
|
|
|
|
with 'Dancer2::Plugin::FormValidator::Role::Validator'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
return { |
12
|
|
|
|
|
|
|
en => '%s is required', |
13
|
|
|
|
|
|
|
ru => '%s обязательно для заполнения', |
14
|
1
|
|
|
1
|
0
|
1227
|
de => '%s ist erforderlich', |
15
|
|
|
|
|
|
|
}; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
around 'stop_on_fail' => sub { |
19
|
|
|
|
|
|
|
return 1; |
20
|
|
|
|
|
|
|
}; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
my ($self, $field, $input, $field2) = @_; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
if ($self->_field_defined_and_non_empty($field2, $input)) { |
25
|
3
|
|
|
3
|
0
|
9
|
return $self->_field_defined_and_non_empty($field, $input) |
26
|
|
|
|
|
|
|
} |
27
|
3
|
50
|
|
|
|
11
|
|
28
|
3
|
|
|
|
|
8
|
return 1; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
0
|
|
|
|
|
|
1; |