There is still one subject about subprocesses under mod_perl which is
unclear to me: should I avoid pipes ot other programs or not?

What I have understood is that I should avoid forking subprocesses.

Now, here is my case: I want to send an e-mail to somebody. Should I open a
pipe to sendmail (with open my $fh = gensym(), '|sendmail -t -oi'), or
should I avoid this and use a Perl module like Mail::Sendmail.

While I think Mail::Sendmail could provide what I need, I guess that
sendmail is better at handling message queues etc, so it will be preferable
to use that.

What is the best choice in my case?

Per Einar Ellefsen
[EMAIL PROTECTED]



Reply via email to