| 1 | package Test2::Require::RealFork; | ||||||||||
| 2 | 3 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 3 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | 3 | ▶ | use base 'Test2::Require'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 3 | our $VERSION = '1.302226'; | |||||||||
| 8 | |||||||||||
| 9 | 3 | ▶ | use Test2::Util qw/CAN_REALLY_FORK/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | 4 | ▶ | sub skip { | ||||||||
|
Subroutine
skip: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 12 | 4 | ▶ | return undef if CAN_REALLY_FORK; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | 1 | return "This test requires a perl capable of true forking."; | |||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 3 | 1; | |||||||||
| 17 | |||||||||||
| 18 | __END__ | ||||||||||