Help for this page

Select Code to Download


  1. or download this
    $ cat recurse.tt2
    [% BLOCK recurse %]
    [% META name = 'my file' -%]
    ...
        [% FOREACH variable IN [ 6, 7, 9 ] %]
           The variable is set to [% variable %]
        [% END %]
    
  2. or download this
    $ tpage recurse.tt2
    
    
    ...
           The variable is set to 9
    
  3. or download this
    #---------------------------------------------------------------------
    +---
    # Compiled template generated by the Template Toolkit version 2.22
    #---------------------------------------------------------------------
    +---
    ...
        }
    );