line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Ping::Ties::SERVICE_CHECK; |
2
|
|
|
|
|
|
|
# ABSTRACT: Service Check Tie variable to Test::Ping |
3
|
|
|
|
|
|
|
$Test::Ping::Ties::SERVICE_CHECK::VERSION = '0.210'; |
4
|
19
|
|
|
19
|
|
139
|
use strict; |
|
19
|
|
|
|
|
49
|
|
|
19
|
|
|
|
|
640
|
|
5
|
19
|
|
|
19
|
|
97
|
use warnings; |
|
19
|
|
|
|
|
36
|
|
|
19
|
|
|
|
|
431
|
|
6
|
|
|
|
|
|
|
|
7
|
19
|
|
|
19
|
|
89
|
use Net::Ping; |
|
19
|
|
|
|
|
40
|
|
|
19
|
|
|
|
|
805
|
|
8
|
19
|
|
|
19
|
|
126
|
use Test::Ping; |
|
19
|
|
|
|
|
43
|
|
|
19
|
|
|
|
|
590
|
|
9
|
19
|
|
|
19
|
|
112
|
use Tie::Scalar; |
|
19
|
|
|
|
|
34
|
|
|
19
|
|
|
|
|
2225
|
|
10
|
|
|
|
|
|
|
|
11
|
20
|
|
|
20
|
|
11516
|
sub TIESCALAR { return bless {}, shift; } |
12
|
2
|
|
|
2
|
|
365
|
sub FETCH { return Test::Ping->_ping_object()->{'econnrefused'}; } |
13
|
7
|
|
|
7
|
|
2000
|
sub STORE { Test::Ping->_ping_object()->{'econnrefused'} = $_[1]; } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__END__ |