| 1 | # Copyrights 2011-2013 by [Mark Overmeer]. | ||||||||||||
| 2 | # For other contributors see ChangeLog. | ||||||||||||
| 3 | # See the manual pages for details on the licensing terms. | ||||||||||||
| 4 | # Pod stripped from pm file by OODoc 2.01. | ||||||||||||
| 5 | 2 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 6 | 2 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | |||||||||||||
| 8 | 2 | ▶ | no warnings 'redefine', 'prototype'; # during release of distribution | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 9 | |||||||||||||
| 10 | |||||||||||||
| 11 | |||||||||||||
| 12 | sub POSIX::SigAction::new | ||||||||||||
| 13 | 0 | ▶ | { my $class = shift; | ||||||||||
|
Subroutine
new: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 14 | 0 | ▶ | bless {HANDLER => $_[0], MASK => $_[1], FLAGS => $_[2] || 0, SAFE => 0}, | ||||||||||
|
Condition0%0/2
$_[2] || 0
MC/DC0%0/1
$_[2] || 0
$_[2]
Truth table0%0/2
A
A= $_[2]
| |||||||||||||
| 15 | $class; | ||||||||||||
| 16 | } | ||||||||||||
| 17 | |||||||||||||
| 18 | #--------------------------- | ||||||||||||
| 19 | |||||||||||||
| 20 | # We cannot use a "package" statement, because it confuses CPAN: the | ||||||||||||
| 21 | # namespace is assigned to the perl core distribution. | ||||||||||||
| 22 | 2 | ▶ | no warnings 'redefine'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 23 | sub POSIX::SigAction::handler($;$) | ||||||||||||
| 24 | 0 | ▶ | { $_[0]->{HANDLER} = $_[1] if @_ > 1; $_[0]->{HANDLER} } | ||||||||||
|
Subroutine
handler: not called CC=2 SCAR=17.9
Pod
documented
Branch: 1 branch
| |||||||||||||
| 25 | |||||||||||||
| 26 | sub POSIX::SigAction::mask($;$) | ||||||||||||
| 27 | 0 | ▶ | { $_[0]->{MASK} = $_[1] if @_ > 1; $_[0]->{MASK} } | ||||||||||
|
Subroutine
mask: not called CC=2 SCAR=17.9
Pod
documented
Branch: 1 branch
| |||||||||||||
| 28 | |||||||||||||
| 29 | sub POSIX::SigAction::flags($;$) | ||||||||||||
| 30 | 0 | ▶ | { $_[0]->{FLAGS} = $_[1] if @_ > 1; $_[0]->{FLAGS} } | ||||||||||
|
Subroutine
flags: not called CC=2 SCAR=17.9
Pod
documented
Branch: 1 branch
| |||||||||||||
| 31 | |||||||||||||
| 32 | sub POSIX::SigAction::safe($;$) | ||||||||||||
| 33 | 0 | ▶ | { $_[0]->{SAFE} = $_[1] if @_ > 1; $_[0]->{SAFE} } | ||||||||||
|
Subroutine
safe: not called CC=2 SCAR=17.9
Pod
documented
Branch: 1 branch
| |||||||||||||
| 34 | |||||||||||||
| 35 | 2 | 1; | |||||||||||