Help for this page

Select Code to Download


  1. or download this
    [% FOREACH option = element.value %]
    [%- option -%]
    [% END %]
    # this is equivalent to writing those three directives on a single lin
    +e:
    # [% FOREACH option = element.value %][% option %][% END %]
    
  2. or download this
    my $template = Template->new(
        {
    ...
            POST_CHOMP   => 1,
        }
    );