> 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.

------------------------------------------------------------------------------
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to