Re: [htmltmpl] Setting options after new()
Brought to you by:
samtregar
From: Cody F. <cod...@gm...> - 2010-04-24 04:47:33
|
> loop_context_vars is pretty cheap so just use them, > global_vars can be expensive if you have lots of loops and sub-loops and > sub-sub-loops, etc. with big pages. Fair enough. I don't have any kind of nested loop, it's all fairly simple. > ...if it doesn't work and its not documented, then dont do that. Or just > create a H::T when you actually want to use it... To be honest, my code probably needs rethinking, it works like 1) Determine run-mode 2) Create H::T and using the template file for that run-mode 3) Lots of other more complicated stuff dependent on conditions So yes, it could probably go another way. |