Dan Anderson wrote: > I'm creating an app that uses forks in a number of places to do things > quicker. Unfortunately, I have a bad habit of accidentally fork bombing > my box.
This is a pretty good sign that you are over-using the fork command. Efficiently designed programs can usually run pretty well without extra forking. If a certain process can do its work independtently of the rest of the program, and one or the other needs to wait for some external event [such as user input], that would be a good case for using a fork, very carefully. I can't see a good reason to ever fork processes from inside a loop. That is just asking for trouble. So is speed really an issue for you? Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>