1Template::Plugin::IteraUtsoerr(3C)ontributed Perl DocumeTnetmaptliaotne::Plugin::Iterator(3)
2
3
4

NAME

6       Template::Plugin::Iterator - Plugin to create iterators
7       (Template::Iterator)
8

SYNOPSIS

10           [% USE iterator(list, args) %]
11
12           [% FOREACH item = iterator %]
13              [% '<ul>' IF iterator.first %]
14              <li>[% item %]
15              [% '</ul>' IF iterator.last %]
16           [% END %]
17

DESCRIPTION

19       The iterator plugin provides a way to create a Template::Iterator
20       object to iterate over a data set.  An iterator is implicitly
21       automatically by the FOREACH directive.  This plugin allows the
22       iterator to be explicitly created with a given name.
23

AUTHOR

25       Andy Wardley <abw@wardley.org> <http://wardley.org/>
26
28       Copyright (C) 1996-2007 Andy Wardley.  All Rights Reserved.
29
30       This module is free software; you can redistribute it and/or modify it
31       under the same terms as Perl itself.
32

SEE ALSO

34       Template::Plugin, Template::Iterator
35
36
37
38perl v5.32.0                      2020-07-28     Template::Plugin::Iterator(3)
Impressum