in reply to Pipes? Child Processes?

There are many different ways to communicate among processes. Pipe, socket, ..., SOAP. Each has its advantages and disadvantages, but on unix, using pipe probably requires the least amount of development effort. However, pipe is not quite portable.

Some interesting points about pipe: Another thing I want to mention is that, traditionally, Perl deal with lots of forked processes, but I personally believe that, as Perl's threading support becomes more and more stable and powerful, in the future, we should expect less forks (I am saying lots of things required fork in the past, will be done by using threading in the future. However as long as process is there, inter-process communication will remain there. There are lots of articles talking about why process, why threading. My view is that really depends on the application, configuration, environment, situation etc.)