[Templates] Two issues - Processing problem and caching problem (bug?)

Perrin Harkins perrin@elem.com
Wed, 12 Jul 2006 15:53:30 -0400


On Wed, 2006-07-12 at 13:48 -0500, Evan Kaufman wrote:
> I'm importing the constants:
>     use Apache2::Const qw(:common);
> 
> and sending the headers:
>     $request->content_type($ContentType);

Ah, ok, so you're using mod_perl 2.  In that case, don't pass the
Apache::RequestRec to TT.  I don't think that works for mod_perl 2
because the print() method doesn't take references anymore.  Just
collect the data in a scalar and print it.

- Perrin