| 1 | package Net::CLI::Interact::Transport::Platform::Unix; | ||||||||||
| 2 | $Net::CLI::Interact::Transport::Platform::Unix::VERSION = '2.400001'; | ||||||||||
| 3 | 7 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 7 | ▶ | use Class::Load qw(try_load_class); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | BEGIN { | ||||||||||
| 7 | 7 | ▶ | sub can_use_pty { return try_load_class('IO::Pty') } | ||||||||
|
Subroutine
can_use_pty: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 7 | ▶ | extends (can_use_pty() | ||||||||
|
Subroutine
BEGIN: called CC=2 SCAR=7.6
Branch: 1 branch
| |||||||||||
| 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 | use Moo; | ||||||||||
| 19 | use Sub::Quote; | ||||||||||
| 20 | use MooX::Types::MooseLike::Base qw(Int); | ||||||||||
| 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; | ||||||||||