Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time


Parallel::Forker is a Perl package to manage parallel processes that are either subroutines or system commands. Parallel::Forker supports being able to specify complicated expressions to determine which processes run after others, or processes that run when processes others fail.


use Parallel::Forker;
$Fork = new Parallel::Forker(use_sig_child=>1);
   (run_on_start => sub {print "child work here...";},
    # run_on_start => \&child_subroutine,  # Alternative: call a named sub.
    run_on_finish => sub {print "parent cleanup here...";},
$Fork->wait_all;   # Wait for all children to finish


Install from CPAN:

cpan install Parallel::Forker

Or, build from sources:

# Obtain distribution kit
git clone
# Build
cd Parallel-Forker
git pull
perl Makefile.PL
make test
make install


See the Parallel::Forker manpage after installation.


The latest version is available from CPAN and from

Copyright 2002-2020 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.


Wilson Snyder <>