> > And I want access to loop1s count() from loop2s. From documentation I > > understand - I must use Template::Plugin::Iterator, but it is not clear > You can take a local copy of the iterator > [% FOR a = [ 1, 2, 3 ] %] > [% outer = loop %] > [% FOR b = [ 'a', 'b', 'c' ] %] > [% inner = loop %] > 1) [% outer.count %] => [% a %] > 2) [% inner.count %] => [% b %] > [% END %] > [% END %]
Thank you, its works! B-) -- WBW, AmadiS, System administrator of IP-COM _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
