[Templates] The Template::Context::process bug

Jonas Liljegren jonas@paranormal.se
Fri, 4 Aug 2000 11:42:40 +0200 (CEST)


I have spent some time tracking the bug, but with little success.

The $self->{'LOAD_TEMPLATES'}[0]{'LOOKUP'}{$path}[0][DATA] should be a
Template::Document with a sub ref in _BLOCK, etc. But it becomes '1'.

The problem occured on the second execution of the program in
mod_perl.  The template object was recreated each time:
  my $template = Template->new($config);

The problem dissapeared then I reused the previously created object.


Has the cache a reference (soft) to something that goes out of scoop then
the template object dissapears?




-- 
/ Jonas  -  http://jonas.liljegren.org/myself/en/index.html