Proc-Forkmap
This module supplies an easy to use map method that provides built-in forking and IPC.
EXAMPLE:
use Proc::Forkmap;
sub foo {
my $x = shift;
my $t = sprintf("%1.0f", $x + 1);
sleep $t;
print "slept $t seconds\n";
}
my @x = (rand(), rand(), rand());
my $p = Proc::Forkmap->new;
$p->fmap(\&foo, @x);
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc Proc::Forkmap
You can also look for information at:
RT, CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Proc-Forkmap
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Proc-Forkmap
CPAN Ratings
http://cpanratings.perl.org/d/Proc-Forkmap
Search CPAN
http://search.cpan.org/dist/Proc-Forkmap/
LICENSE AND COPYRIGHT
Copyright (C) 2019 Andrew Shapiro
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See
http://dev.perl.org/licenses/ for more information.