emilford has asked for the wisdom of the Perl Monks concerning the following question:
The second template file would contain how the contents of that page should be formatted. This should only consist of [tr] and [td]tags.[html] [body] [table] [tr] [td] [table] %%MAIN%% [/table] [/td] [/tr] [/table] [/body] [/html]
So, my Perl code would fill in the placeholders of the second template file. Grab that, and stick it in the first template file as the %%MAIN%% placeholder.[tr] [td]%%VAL1%%[/td] [td]%%VAL2%%[/td] [td]%%VAL3%%[/td] [/tr]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTML templates => no HTML in Perl code
by helphand (Pilgrim) on Apr 22, 2004 at 03:36 UTC | |
|
Re: HTML templates => no HTML in Perl code
by kiat (Vicar) on Apr 22, 2004 at 04:08 UTC | |
|
Re: HTML templates => no HTML in Perl code
by Tomte (Priest) on Apr 22, 2004 at 09:30 UTC |