[Melbourne-pm] Testing fork
Stas Bekman
stas at stason.org
Sat Aug 28 10:45:43 CDT 2004
David Dick wrote:
[...]
> 2) The horrifying mutations that this code can be subjected to. For
> example, i'm writing the code as a cgi script to maximise portability.
> For speed, the code be run using Apache::Registry. Which, among other
> things silently overrides the exit statement, unless you fully qualify
> as CORE::exit. I'm damned if i know how, even if i know and expect the
> weird environmental conditions, that i can test that my code is correct
> in an environment such as Apache::Registry;
use Apache-Test (CPAN)
> 3) probably a whole lot of other issues that i'm not aware of yet.
You may find this useful:
http://perl.apache.org/docs/1.0/guide/performance.html#Forking_and_Executing_Subprocesses_from_mod_perl
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas at stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
More information about the Melbourne-pm
mailing list