Re: Handling array in template
Michael Ludwig <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <20120409103454.GF5200@Dago> |
Rajesh Saha schrieb am 09.04.2012 um 15:10 (+0530): > > *I want my result to be like this :* > > abc,def > > *What I have done (in test.tt template file):* > > [% FOREACH var IN vars %] > [%- var -%][%- "," -%] > [% END %] http://template-toolkit.org/docs/manual/VMethods.html#section_join Michael