line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HH::Unispool::Config; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
52610
|
use 5.006; |
|
3
|
|
|
|
|
11
|
|
|
3
|
|
|
|
|
141
|
|
4
|
3
|
|
|
3
|
|
16
|
use strict; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
82
|
|
5
|
3
|
|
|
3
|
|
14
|
use warnings; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
105
|
|
6
|
3
|
|
|
3
|
|
2622
|
use AutoLoader qw(AUTOLOAD); |
|
3
|
|
|
|
|
4601
|
|
|
3
|
|
|
|
|
15
|
|
7
|
3
|
|
|
3
|
|
2073
|
use Error qw(:try); |
|
3
|
|
|
|
|
13462
|
|
|
3
|
|
|
|
|
22
|
|
8
|
3
|
|
|
3
|
|
2585
|
use HH::Unispool::Config::Scope; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
470
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# Used by _value_is_allowed |
11
|
|
|
|
|
|
|
our %ALLOW_ISA = ( |
12
|
|
|
|
|
|
|
'filter' => [ 'HH::Unispool::Config::Entry::Filter' ], |
13
|
|
|
|
|
|
|
'scope' => [ 'HH::Unispool::Config::Scope' ], |
14
|
|
|
|
|
|
|
'system' => [ 'HH::Unispool::Config::Entry::System' ], |
15
|
|
|
|
|
|
|
); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# Used by _value_is_allowed |
18
|
|
|
|
|
|
|
our %ALLOW_REF = ( |
19
|
|
|
|
|
|
|
); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
# Used by _value_is_allowed |
22
|
|
|
|
|
|
|
our %ALLOW_RX = ( |
23
|
|
|
|
|
|
|
'host' => [ '^.+$' ], |
24
|
|
|
|
|
|
|
'time' => [ '^\d+$' ], |
25
|
|
|
|
|
|
|
'version' => [ '^.+$' ], |
26
|
|
|
|
|
|
|
); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
# Used by _value_is_allowed |
29
|
|
|
|
|
|
|
our %ALLOW_VALUE = ( |
30
|
|
|
|
|
|
|
); |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
# Used by _initialize |
33
|
|
|
|
|
|
|
our %DEFAULT_VALUE = ( |
34
|
|
|
|
|
|
|
'diff_host' => 0, |
35
|
|
|
|
|
|
|
'diff_number' => 0, |
36
|
|
|
|
|
|
|
'diff_time' => 0, |
37
|
|
|
|
|
|
|
'diff_version' => 0, |
38
|
|
|
|
|
|
|
# See _initialize for 'host' default value |
39
|
|
|
|
|
|
|
'scope' => HH::Unispool::Config::Scope->new(), |
40
|
|
|
|
|
|
|
# See _initialize for 'time' default value |
41
|
|
|
|
|
|
|
# See _initialize for 'version' default value |
42
|
|
|
|
|
|
|
); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
# Package version |
45
|
|
|
|
|
|
|
our ($VERSION) = '$Revision: 0.3 $' =~ /\$Revision:\s+([^\s]+)/; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
1; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
__END__ |