Everything you wanted to use fork() for, but couldn't.
This module allows you to create new processes, without actually forking them from your current process (avoiding the problems of forking), but preserving most of the advantages of fork. It can be used to create new worker processes or new independent subprocesses for short- and long-running jobs, process pools (e.g. for use in pre-forked servers) but also to spawn new external processes (such as CGI scripts from a webserver), which can be faster (and more well behaved) than using fork+exec in big processes.
| CPAN | File Releases (CPAN) |
| CVS | Browsable CVS module 'AnyEvent-Fork' |
| CVS | Anonymous CVS: cvs -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co AnyEvent-Fork |
| METACPAN | MetaCPAN page |
| LIST | Mailing List 'anyevent' |
| IRC | Server irc.schmorp.de, channel #schmorpforge, user schmorp (say hi and wait a few minutes or hours, or /msg schmorp directly)) |
| POD | Main Manual Page |
| POD | Fork/Early.pm |
| POD | Fork/Template.pm |
| FILE | Changes |