On Thursday 23 June 2005 12:29 pm, Gokul P. Nair wrote:

> Also $req needs to be an object of type APR::Pool and
> in the documentation for APR::Pool it is suggested
> that it is good to use a request pool for these short
> scoped requests. So would $req be created like this ?
> $req = APR::Request::Apache2->handle($r)

$r should already be your request object (an Apache2::RequestRec). In which 
case, to get a new pool, you just do: $r-pool->new

> Another question i have is this - I went through the
> code for APR::Request::Cookie and I don't see method
> definitions for most of the methods/subs listed in the
> documentation, even in the base class i.e.
> APR::Request. Are these methods implemented as
> functions in C code that is then dynamically linked
> and bootstrapped through the dynaLoader module?

Yes. The source will probably be in the .xs file for the appropriate module.

Reply via email to