Re: [Templates] Template::Service::Apache query

[prev] [thread] [next] [Date index for 2004/10/07]

From: Geoffrey Young
Subject: Re: [Templates] Template::Service::Apache query
Date: 15:39 on 07 Oct 2004

Michael wrote:
> Geoffrey Young wrote:
> 
>> Michael wrote:
>>
>>> If it really concerns you then maybe a
>>>    $request = Apache::Request->new($request)
>>>        if(! request || (ref $request eq 'Apache'));
>>
>>
>>
>> that won't work (in all cases) because of later code:
>>
>>     $params->{ params } = { %{ $request->parms() } }
>>         if $all or $plist->{ params };
>>
>> params() is an Apache::Request method, not an Apache method.
>>
> 
> My code should get an new Apache::Request object if the request wasn't
> there, or if it's just an Apache object, right? So, after that it would
> be guaranteed to be an Apache::Request object, right?

urg, yes, you're right.  sorry :)

--Geoff

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] Template::Service::Apache query
Paul Makepeace 14:26 on 07 Oct 2004

Re: [Templates] Template::Service::Apache query
Geoffrey Young 15:23 on 07 Oct 2004

Re: [Templates] Template::Service::Apache query
Geoffrey Young 15:27 on 07 Oct 2004

Re: [Templates] Template::Service::Apache query
Geoffrey Young 15:39 on 07 Oct 2004

Re: [Templates] Template::Service::Apache query
Darren Chamberlain 15:36 on 07 Oct 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52