Hi -
I'm working on an embedding project, and using mod_perl as a tutorial (OK, I'm sometimes blatantly stealing code :)). My tests on a WIN32 box (Win2K) are somewhat flaky. Linux is solid. A grep of mod perl source on WIN32 led me to so pretty strange "environment array" spoofing based upon #ifdef USE_ENVIRON_ARRAY in modperl_perl.c.
The only greps to USE_ENVIRON_ARRAY are in modperl_perl.c. NO greps in the Perl source. NO references (that I could find) on the mod_perl web site.
Does anyone know if this is used? If so, where can I look to get an idea of what it is for (my guess is to tell whether or not to pass the environment array to perl_... calls)?
it's defined in perl.h. You probably want to read p5p archives to learn why was it added and what it does.
I've also found this on google: http://www.google.com.au/search?q=cache:thdxGaHcODcJ:sourceforge.net/developer/diary.php%3Fdiary_id%3D1643%26diary_user%3D3660+USE_ENVIRON_ARRAY&hl=en&ie=UTF-8
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com