Perl 5.10

2007-12-20 Thread Colin Wetherbee
Have any of you used mod_perl with Perl 5.10 yet? Are there any gotchas to consider? I'm still waiting on the release of the Debian packages. Colin

register_cleanup and %ENV

2007-12-20 Thread Michael Schout
Hi folks. I'm in the midst of porting a fairly large application over from mod_perl 1 to mod_perl 2.0. The app I am currently working on runs as a perl-script handler using PerlResponseHandler My::Package::Name under mod_perl 2. One situation I have is that I sometimes have to do a long

Re: register_cleanup and %ENV

2007-12-20 Thread Perrin Harkins
On Dec 20, 2007 2:09 PM, Michael Schout [EMAIL PROTECTED] wrote: mod_perl 2 unfortunately scrubs %ENV before my cleanup handler gets called, so $ENV{TEST_MODE} is never set when the cleanup handler runs. Have you considered using your own global instead? Or PerlSetVar in httpd.conf? - Perrin

Re: register_cleanup and %ENV

2007-12-20 Thread Michael Schout
Perrin Harkins wrote: Have you considered using your own global instead? Or PerlSetVar in httpd.conf? Yeah. Unfortunately that really doesn't work for me. I can get TEST_MODE that way, but there are other %ENV vars that I need also (such as HTML_TEMPLATE_ROOT for example). I did manage

CentOS 5.0 and pre-install modperl try me crazy

2007-12-20 Thread jingx kwan
Hello all, I just print out all the tutorial pages from Stas Bekman, the first few pays for the tutorial go smoothly. It runs, but when I try further it complate about the code. I believe it must be the modperl version that I using. I use CentOS 5.0, and preinstall modperl 2.xx.xx, could anyone

Re: Perl 5.10

2007-12-20 Thread Andreas J. Koenig
On Thu, 20 Dec 2007 11:38:02 -0500, Colin Wetherbee [EMAIL PROTECTED] said: Have any of you used mod_perl with Perl 5.10 yet? Are there any gotchas to consider? Modperl1 doesn't work, patch available. As for modperl2 I don't know. I'm resending my posting which probably got lost in a