line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::SecurityCenter::Base; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
730
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
52
|
|
4
|
2
|
|
|
2
|
|
8
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
276
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.310'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
#------------------------------------------------------------------------------- |
9
|
|
|
|
|
|
|
# CONSTRUCTOR |
10
|
|
|
|
|
|
|
#------------------------------------------------------------------------------- |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub new { |
13
|
|
|
|
|
|
|
|
14
|
19
|
|
|
19
|
0
|
45
|
my ( $class, $client ) = @_; |
15
|
|
|
|
|
|
|
|
16
|
19
|
|
|
|
|
43
|
my $self = { client => $client, }; |
17
|
|
|
|
|
|
|
|
18
|
19
|
|
|
|
|
121
|
return bless $self, $class; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
#------------------------------------------------------------------------------- |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub client { |
25
|
|
|
|
|
|
|
|
26
|
42
|
|
|
42
|
0
|
1108
|
my ($self) = @_; |
27
|
42
|
|
|
|
|
1071
|
return $self->{client}; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
#------------------------------------------------------------------------------- |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub error { |
34
|
|
|
|
|
|
|
|
35
|
0
|
|
|
0
|
0
|
|
my ( $self, $message, $code ) = @_; |
36
|
|
|
|
|
|
|
|
37
|
0
|
0
|
|
|
|
|
if ( defined $message ) { |
38
|
0
|
|
|
|
|
|
$self->{client}->error( $message, $code ); |
39
|
0
|
|
|
|
|
|
return; |
40
|
|
|
|
|
|
|
} else { |
41
|
0
|
|
|
|
|
|
return $self->{client}->error; |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
#------------------------------------------------------------------------------- |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
1; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
__END__ |