Jason Galea wrote:
> use PROCESS instead of INCLUDE to do this I think..

Yes.  Or use [% global.var %].  TT automagically defines 'global' as an empty
hash ref.  Even with the variable localisation of INCLUDE, the contents of
hashes are not copied, only the top-level references.  So the end effect is
that global.anything can be seen anywhere.

HTH
A


_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to