http://www.perlmonks.org?node_id=96387


in reply to How to reduce memory by killing redundant perl executables

If this is the code you are actually using, then I will assume there is a problem with the input_manual.pl program (assuming you want the input_manual.pl program to survive its parent). See, if you do a system, Perl will launch the program you gave it as an argument and then wait for the launched program to complete before continuing with the next statement. Hence, by the time it gets to the exit, the launced program has terminated.

This however doesn't seem to match your description. Your description however of what you have and what you want are too confusing for me, and I don't understand what your goals are.

-- Abigail