On Fri, 2005-01-07 at 08:11 -0800, Bill Moseley wrote: > Is the issue about side-effects? My data comes in from a $t->process > hash or from a single template where I "PROCESS defaultvars.tt" in a > common wrapper or PRE_PROCESS. It's rare that I PROCESS a template > for side-effect of setting some variables. The exception might be > BLOCKs defined in the same template. > > So, having variables that are local to a specific template would be > what I expect by default.
I'm not sure I'm following, but the difference between INCLUDE and PROCESS is that INCLUDE prevents the specific side-effect of changing data in the stash and is therefore slower. If you don't need to prevent that side-effect, then INCLUDE is the wrong thing to use. - Perrin _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
