Query: excel::template::container::loop
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Excel::Template::Container::Loop(3pm) User Contributed Perl Documentation Excel::Template::Container::Loop(3pm)NAMEExcel::Template::Container::Loop - Excel::Template::Container::LoopPURPOSETo provide loopingNODE NAMELOOPINHERITANCEExcel::Template::ContainerATTRIBUTESo NAME This is the name of the loop. It's used to identify within the parameter set what variables to expose to the children nodes each iteration.CHILDRENNoneEFFECTSNoneDEPENDENCIESNoneUSAGE<loop name="LOOPY"> ... Children here ... </loop> In the above example, the children nodes would have access to the LOOPY array of hashes as parameters. Each iteration through the array would expose a different hash of parameters to the children. These loops work just like HTML::Template's loops. (I promise I'll give more info here!) There is one difference - I prefer using Perl-like scoping, so accessing of variables outside the LOOP scope from within is perfectly acceptable. You can also hide outside variables with inner values, if you desire, just like Perl.AUTHORRob Kinyon (rob.kinyon@gmail.com)SEE ALSOperl v5.14.2 2012-04-29 Excel::Template::Container::Loop(3pm)
Similar Topics in the Unix Linux Community |
---|
Loop through found files |
How to loop through every char in a string |
Gawk / Awk Merge Lines based on Key |
While Loop not running |
AWK looping over 2 variables |