Re: USE_ENVIRON_ARRAY
- Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "Beau E. Cox" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 3:25 PM Subject: Re: USE_ENVIRON_ARRAY > Beau E. Cox wrote: > > 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. > > ... > > 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 > Thanks Stas, I'll be on my way. (I shudda googled :) ). Aloha => Beau;
Re: USE_ENVIRON_ARRAY
Beau E. Cox wrote: 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 BekmanJAm_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