in reply to Re: Objects and forking
in thread Objects and forking

Thanks, this is the way I thought it would work. The handle to sendmail is opened in each child when the send() method is called on the object.
As for the looping, that is not what the code does (but thanks for the input just in case), it was just an little example. In actuality I load an array with the location of a bunch of config files and then fork to process each config file.