| 1 | package Net::CLI::Interact::Transport::Platform::Unix; | ||||||||||
| 2 | { | ||||||||||
| 3 | 1 | $Net::CLI::Interact::Transport::Platform::Unix::VERSION = '2.143070'; | |||||||||
| 4 | } | ||||||||||
| 5 | |||||||||||
| 6 | 1 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 1 | ▶ | use Class::Load qw(try_load_class); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | BEGIN { | ||||||||||
| 10 | 1 | ▶ | sub can_use_pty { return try_load_class('IO::Pty') } | ||||||||
|
Subroutine
can_use_pty: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 11 | |||||||||||
| 12 | 1 | ▶ | extends (can_use_pty() | ||||||||
|
Subroutine
BEGIN: called CC=2 SCAR=7.6
Branch: 1 branch
| |||||||||||
| 13 | ? 'Net::CLI::Interact::Transport::Wrapper::Net_Telnet' | ||||||||||
| 14 | : 'Net::CLI::Interact::Transport::Wrapper::IPC_Run'); | ||||||||||
| 15 | } | ||||||||||
| 16 | |||||||||||
| 17 | { | ||||||||||
| 18 | 1 | package # hide from pause | |||||||||
| 19 | Net::CLI::Interact::Transport::Platform::Options; | ||||||||||
| 20 | |||||||||||
| 21 | 1 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 22 | 1 | ▶ | use Sub::Quote; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 23 | 1 | ▶ | use MooX::Types::MooseLike::Base qw(Int); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 24 | |||||||||||
| 25 | 1 | extends 'Net::CLI::Interact::Transport::Wrapper::Options'; | |||||||||
| 26 | |||||||||||
| 27 | 1 | has 'reap' => ( | |||||||||
| 28 | is => 'rw', | ||||||||||
| 29 | isa => Int, | ||||||||||
| 30 | default => quote_sub('0'), | ||||||||||
| 31 | ); | ||||||||||
| 32 | } | ||||||||||
| 33 | |||||||||||
| 34 | 1 | 1; | |||||||||