[Catalyst] Catalyst::View::TT - strange caching annoyance
    Brian Kirkbride 
    brian.kirkbride at deeperbydesign.com
       
    Wed Sep 13 21:19:18 CEST 2006
    
    
  
Jonathan Rockway wrote:
> Good find.  The whole complicated [% BLOCK %] business that I was
> complaining about was actually the problem.  I admit to never having
> used [% BLOCK %], so that's why I didn't run into the problem.
> 
> Regards,
> Jonathan Rockway
> 
Ah, that makes sense.
What do you usually do in stead of using BLOCK?  Do you put anything that will 
be INCLUDEd or PROCESSed into separate files?  I tend to put all related small 
chunks of HTML, Javascript, etc into separate, named BLOCKs in a single .tt2 
file.  And for anything I'll be using on a regular basis, I make them MACROs 
instead.
Cheers,
Brian
    
    
More information about the Catalyst
mailing list