> I was having some problems that I tracked down to cached templates, so I
> went to turn caching off.
> 
> As soon as I set CACHE_SIZE to 0, all my TT CGIs now give me:  Can't call
> method "process" on unblessed reference at
> /usr/lib/perl5/site_perl/5.005/Template/Context.pm line 286.
> 
> If I set CACHE_SIZE to anything other than 0, I don't have this problem.
>
> I believe this is v 2.03

I wrote a small example and it works fine with 2.05.  The template is
correctly recompiled everytime when CACHE_SIZE is 0.

Are you using mod_perl?  Perhaps there is some state information inside
TT that doesn't handle changing CACHE_SIZE to 0, but I don't know.  As
an experiment, restart apache after changing CACHE_SIZE to 0.

In any case, please post a short self-contained example that shows the
problem.

Craig


Reply via email to