| 1 | package IO::SigGuard; | ||||||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||||||
| 3 | sub send { | ||||||||||||||||||||||||||||||||
| 4 | 189892 | ▶ | $result = ( (@_ == 3) ? CORE::send( $_[0], $_[1], $_[2] ) : (@_ == 4) ? CORE::send( $_[0], $_[1], $_[2], $_[3] ) : die "Wrong args count! send(@_)" ) || do { | ||||||||||||||||||||||||||||||
|
Subroutine
send: called CC=5 SCAR=25.2
Pod
undocumented
Branch: 2 branches
Condition33%1/3
(@_ == 3 ? CORE::send($_[0], $_[1], $_[2]) : (@_ == 4 ? CORE::send($_[0], $_[1], $_[2], $_[3]) : die("Wrong args count! send(@_)"))) || do {
goto \&send if $! == 4
}
MC/DC0%0/2
(@_ == 3 ? CORE::send($_[0], $_[1], $_[2]) : (@_ == 4 ? CORE::send($_[0], $_[1], $_[2], $_[3]) : die("Wrong args count! send(@_)"))) || do {
goto \&send if $! == 4
}
(@_ == 3 ? CORE::send($_[0], $_[1], $_[2]) : (@_ == 4 ? CORE::send($_[0], $_[1], $_[2], $_[3]) : die("Wrong args count! send(@_)")))
do {
goto \&send if $! == 4
}
Truth table33%1/3
A || B
A= (@_ == 3 ? CORE::send($_[0], $_[1], $_[2]) : (@_ == 4 ? CORE::send($_[0], $_[1], $_[2], $_[3]) : die("Wrong args count! send(@_)")))B= do {
goto \&send if $! == 4
}
| |||||||||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||||||
| 6 | #EINTR means the file pointer is unchanged. | ||||||||||||||||||||||||||||||||
| 7 | 0 | ▶ | goto &send if $! == Errno::EINTR(); | ||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||
| 8 | }; | ||||||||||||||||||||||||||||||||
| 9 | |||||||||||||||||||||||||||||||||
| 10 | 189892 | return $result; | |||||||||||||||||||||||||||||||
| 11 | } | ||||||||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||||||
| 13 | 2 | 1; | |||||||||||||||||||||||||||||||