Re: mod_perl example in cdbi cookbook

[prev] [thread] [next] [Date index for 2005/05/24]

From: Perrin Harkins
Subject: Re: mod_perl example in cdbi cookbook
Date: 16:38 on 24 May 2005
On Tuesday 24 May 2005 11:26 am, Marc Lambrichs wrote:
> Taking Perrin's example in UsingWithModPerl on the cdbi wiki site, what'
> s the best way to use it with mod_perl2? Passing $r around as an
> argument doesn't seem to be nicest option.

Unless you're using threads, Apache2->request() is still fine.  You may need 
to set PerlOptions +GlobalRequest.  See 
http://perl.apache.org/docs/2.0/api/Apache2/RequestUtil.html

- Perrin

mod_perl example in cdbi cookbook
Marc Lambrichs 15:26 on 24 May 2005

Re: mod_perl example in cdbi cookbook
Perrin Harkins 16:38 on 24 May 2005

Generated at 20:11 on 05 Jun 2005 by mariachi v0.52