in reply to spawning Perl scripts
To add a little side-note to the other Venerable Monks' comments, beware that if you fork a perl program executed by mod_perl, you are forking all of the apache process.
If you use exec, the process is substituted by the new perl interpreter, so it doesn't really matter, but should you be tempted to just do the new script, you have to take into consideration the cost of the apache+mod_perl process, which will be kept alive until the new script exits.
Cheers
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: spawning Perl scripts
by jasonk (Parson) on Mar 28, 2003 at 17:58 UTC |