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

Josh Rosenbaum josh@infogears.com
Wed, 12 Jul 2006 13:06:38 -0600


Evan Kaufman wrote:
>    $TT->process($request->filename(), \%data, $request ) || do
>    {
>      $request->log_reason( $TT->error() );
>      return SERVER_ERROR;
>    };

Maybe try storing to a scalar ref and printing to manually? See if the output is correct then.

ie:
my $output;
$TT->process($request->filename(), \%data, \$output )
# output output and see what it looks like.

I don't suppose it could be an encoding issue of some sort?

-- Josh