| 1 | package Net::Appliance::Session::Async; | ||||||||||||
| 2 | 1 | { $Net::Appliance::Session::Async::VERSION = '4.300003' } | |||||||||||
| 3 | |||||||||||||
| 4 | 1 | ▶ | use Moo::Role; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | |||||||||||||
| 6 | sub put { | ||||||||||||
| 7 | 0 | ▶ | my ($self, $cmd, $opts) = @_; | ||||||||||
|
Subroutine
put: not called CC=3 SCAR=24.8
Pod
undocumented
| |||||||||||||
| 8 | 0 | ▶ | $opts ||= {}; | ||||||||||
|
Condition0%0/2
$opts ||= {}
MC/DC0%0/1
$opts ||= {}
$opts
Truth table0%0/2
A
A= $opts
| |||||||||||||
| 9 | return $self->nci->transport->put($cmd, | ||||||||||||
| 10 | 0 | ▶ | ($opts->{no_ors} ? () : $self->nci->transport->ors)); | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 11 | } | ||||||||||||
| 12 | |||||||||||||
| 13 | 0 | ▶ | sub say { return $_[0]->put( $_[1] ) } | ||||||||||
|
Subroutine
say: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 14 | |||||||||||||
| 15 | sub gather { | ||||||||||||
| 16 | 0 | ▶ | my ($self, $opts) = @_; | ||||||||||
|
Subroutine
gather: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||
| 17 | 0 | ▶ | $opts ||= {}; | ||||||||||
|
Condition0%0/2
$opts ||= {}
MC/DC0%0/1
$opts ||= {}
$opts
Truth table0%0/2
A
A= $opts
| |||||||||||||
| 18 | 0 | $opts->{no_ors} = 1; # force no newline | |||||||||||
| 19 | 0 | return $self->cmd('', $opts); | |||||||||||
| 20 | } | ||||||||||||
| 21 | |||||||||||||
| 22 | 1 | 1; | |||||||||||