Hi,
I'm having trouble trying to use global variables.
I have a hash that lives in ant_hash.txt in my libs directory that says:
[% global = {ant_2TH = 0, etc..} %]I have two identical templates in my src directory that say this:
[% PROCESS ant_hash.txt %]
[% global.ant_2TH = global.ant_2TH + 1 %]
global.ant_2TH = [% global.ant_2TH %]
When the two identical templates are processed they both say this:
global.ant_2TH = 1
My expectation is global.ant_2TH = 2 in the second template that gets processed. What am I doing wrong here? Thanks.
-louai
_______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
