0.35 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
Artistic-1.0 - Artistic License 1.0Test::SharedFork - fork test
use Test::More tests => 200;
use Test::SharedFork;
my $pid = fork();
if ($pid == 0) {
# child
ok 1, "child $_" for 1..100;
} elsif ($pid) {
# parent
ok 1, "parent $_" for 1..100;
waitpid($pid, 0);
} else {
die $!;
}
Test::SharedFork is utility module for Test::Builder.
This module makes fork(2) safety in your test case.
This module merges test count with parent process & child process.
This version of the Test::SharedFork does not support ithreads, because threads::shared conflicts with Storable.
Tokuhiro Matsuno <tokuhirom slkjfd gmail.com>
yappo
kazuhooku
konbuizm
Test::TCP, Test::Fork, Test::MultiFork
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.