On Fri, Jan 07, 2005 at 09:02:58AM -0500, Perrin Harkins wrote:
> I think people do not read the whole doc (they would not be missing the
> localisation in INCLUDE if they did) but rather go looking for something
> called "include" and stop when they find it.

Actually, I started out using PROCESS as my first thought was INCLUDE
was for including text without processing.  (INSERT is a better term,
yes.)

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.



-- 
Bill Moseley
[EMAIL PROTECTED]


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to