Home: Perl Programming Help: mod_perl:
Simple tt2 question

New User

Dec 8, 2011, 9:32 PM

Views: 34357
Simple tt2 question

[% count = 1 %]
[% result.count.text %]

result is an array of hashes.

[% result.1.text %] This line of code works


I don't need any looping codes I just want to know how to get it to recognize the variable count in that statement. I would appreciate if anyone could please help me. Thanks.