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 _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
