1Excel::Template::ContaiUnseerr::CLoonotpr(i3b)uted PerlEDxocceulm:e:nTteamtpiloante::Container::Loop(3)
2
3
4

NAME

6       Excel::Template::Container::Loop - Excel::Template::Container::Loop
7

PURPOSE

9       To provide looping
10

NODE NAME

12       LOOP
13

INHERITANCE

15       Excel::Template::Container
16

ATTRIBUTES

18       •   NAME
19
20           This is the name of the loop. It's used to identify within the
21           parameter set what variables to expose to the children nodes each
22           iteration.
23

CHILDREN

25       None
26

EFFECTS

28       None
29

DEPENDENCIES

31       None
32

USAGE

34         <loop name="LOOPY">
35           ... Children here ...
36         </loop>
37
38       In the above example, the children nodes would have access to the LOOPY
39       array of hashes as parameters. Each iteration through the array would
40       expose a different hash of parameters to the children.
41
42       These loops work just like HTML::Template's loops. (I promise I'll give
43       more info here!)
44
45       There is one difference - I prefer using Perl-like scoping, so
46       accessing of variables outside the LOOP scope from within is perfectly
47       acceptable. You can also hide outside variables with inner values, if
48       you desire, just like Perl.
49

AUTHOR

51       Rob Kinyon (rob.kinyon@gmail.com)
52

SEE ALSO

54perl v5.36.0                      2023-01-20Excel::Template::Container::Loop(3)
Impressum