line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::CLI::Interact::Transport::Platform::Unix; |
2
|
|
|
|
|
|
|
$Net::CLI::Interact::Transport::Platform::Unix::VERSION = '2.400002'; |
3
|
1
|
|
|
1
|
|
551
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
4
|
1
|
|
|
1
|
|
301
|
use Class::Load qw(try_load_class); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
104
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
BEGIN { |
7
|
1
|
|
|
1
|
0
|
7
|
sub can_use_pty { return try_load_class('IO::Pty') } |
8
|
|
|
|
|
|
|
|
9
|
1
|
50
|
|
1
|
|
4
|
extends (can_use_pty() |
10
|
|
|
|
|
|
|
? 'Net::CLI::Interact::Transport::Wrapper::Net_Telnet' |
11
|
|
|
|
|
|
|
: 'Net::CLI::Interact::Transport::Wrapper::IPC_Run'); |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
{ |
15
|
|
|
|
|
|
|
package # hide from pause |
16
|
|
|
|
|
|
|
Net::CLI::Interact::Transport::Platform::Options; |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
1
|
|
120
|
use Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
19
|
1
|
|
|
1
|
|
321
|
use Sub::Quote; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
62
|
|
20
|
1
|
|
|
1
|
|
6
|
use MooX::Types::MooseLike::Base qw(Int); |
|
1
|
|
|
|
|
15
|
|
|
1
|
|
|
|
|
138
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
extends 'Net::CLI::Interact::Transport::Wrapper::Options'; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
has 'reap' => ( |
25
|
|
|
|
|
|
|
is => 'rw', |
26
|
|
|
|
|
|
|
isa => Int, |
27
|
|
|
|
|
|
|
default => quote_sub('0'), |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=pod |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=for Pod::Coverage can_use_pty |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |