> How can I access methods from the Template::Iterator object? > ie. i would like: > > [% FOREACH letter = ['a','b','c']; > letter.count; > END %] > > to output 123. > > I know that the count() method doesn't belong to the array value, but I > can't see which object it belongs to inside the template.
Use loop.count. See Template::Manual::Directives. Craig
