line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
26434
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
86
|
|
2
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
90
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package |
5
|
|
|
|
|
|
|
XHTML::Instrumented::Form::Hidden; |
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
11
|
use base 'XHTML::Instrumented::Form::Element'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
1188
|
|
8
|
|
|
|
|
|
|
|
9
|
2
|
|
|
2
|
|
13
|
use Params::Validate qw (validate); |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
358
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub is_multi |
12
|
|
|
|
|
|
|
{ |
13
|
0
|
|
|
0
|
1
|
|
1; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub set_value |
17
|
|
|
|
|
|
|
{ |
18
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
19
|
0
|
|
|
|
|
|
my $value = shift; |
20
|
0
|
0
|
|
|
|
|
die if @_; |
21
|
|
|
|
|
|
|
|
22
|
0
|
0
|
|
|
|
|
if (my $type = ref($value)) { |
23
|
0
|
0
|
|
|
|
|
die unless $type eq 'ARRAY'; |
24
|
0
|
|
|
|
|
|
$self->{value} = $value; |
25
|
|
|
|
|
|
|
} else { |
26
|
0
|
|
|
|
|
|
$self->{value} = [ $value ]; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub value |
31
|
|
|
|
|
|
|
{ |
32
|
0
|
|
|
0
|
1
|
|
shift->SUPER::value(@_); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
36
|
|
|
|
|
|
|
__END__ |