- or download this
<span id="data1">This text will be replaced</span>
<ul id="list1">
<li id="items">This will be replaced by each item</li>
</ul>
- or download this
my $t = WWw/HTML::SST->new('templatefilename');
...
data => [['item1'], ['item2']],
),
);
- or download this
<span id="data1">new text</span>
<ul id="list1">
<li id="items.1">item1</li>
<li id="items.2">item2</li>
</ul>