line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Ping::Ties::PORT; |
2
|
|
|
|
|
|
|
$Test::Ping::Ties::PORT::VERSION = '0.204'; |
3
|
19
|
|
|
19
|
|
113
|
use strict; |
|
19
|
|
|
|
|
37
|
|
|
19
|
|
|
|
|
513
|
|
4
|
19
|
|
|
19
|
|
106
|
use warnings; |
|
19
|
|
|
|
|
42
|
|
|
19
|
|
|
|
|
498
|
|
5
|
|
|
|
|
|
|
# ABSTRACT: Port Tie variable to Test::Ping |
6
|
|
|
|
|
|
|
|
7
|
19
|
|
|
19
|
|
80
|
use Net::Ping; |
|
19
|
|
|
|
|
130
|
|
|
19
|
|
|
|
|
761
|
|
8
|
19
|
|
|
19
|
|
102
|
use Test::Ping; |
|
19
|
|
|
|
|
33
|
|
|
19
|
|
|
|
|
494
|
|
9
|
19
|
|
|
19
|
|
92
|
use Tie::Scalar; |
|
19
|
|
|
|
|
43
|
|
|
19
|
|
|
|
|
1686
|
|
10
|
|
|
|
|
|
|
|
11
|
20
|
|
|
20
|
|
1271
|
sub TIESCALAR { return bless {}, shift; } |
12
|
2
|
|
|
2
|
|
477
|
sub FETCH { return Test::Ping->_ping_object()->{'port_num'}; } |
13
|
12
|
|
|
12
|
|
3734
|
sub STORE { Test::Ping->_ping_object()->{'port_num'} = $_[1]; } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__END__ |