[Templates] Proposal - Add ADD_LOCAL_PATH configuration item.

Perrin Harkins perrin at elem.com
Wed Dec 12 18:00:22 GMT 2007


On Dec 12, 2007 11:35 AM, Paul Seamons <mail at seamons.com> wrote:
> Using globals sometimes, sure - but "nearly always"?  Ick.

Well, you have to keep it persistent or the caching won't work.

> Only my persistent
> TT or TA object in a mod_perl situation has ever been global - I hardly ever
> use a global TT otherwise.

I need a way to get the persistent TT object in any non-trivial
script.  This is typically an accessor method or singleton, but
usually uses a global internally.

- Perrin



More information about the templates mailing list