GertMT has asked for the wisdom of the Perl Monks concerning the following question:
I've put together two scripts that use Data::Table. Running the two scripts results in html files with well calculated nicely formatted tables.
In order to present those two files with tables with the same header and footer I've been looking for solutions. Amongst others, File::Cat, Templates (TT) or HTML::Template. I'm puzzled and don't really know where to start.
I thought to use the TT as it has the possibility to include 'files' (meaning my tables). Couldn't find out wether this is possible with HTML::Template.
The files I'd like to `include` should be pointed to as a variable as I never know upfront how many and what names they have.
Any ideas to point me in the right direction are welcome.
Gert
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: working with templates
by samtregar (Abbot) on Apr 24, 2007 at 18:58 UTC | |
by GertMT (Hermit) on Apr 24, 2007 at 19:55 UTC | |
by GertMT (Hermit) on Apr 24, 2007 at 20:32 UTC | |
|
Re: working with templates
by friedo (Prior) on Apr 24, 2007 at 19:00 UTC | |
by GertMT (Hermit) on Apr 24, 2007 at 20:04 UTC | |
by tinita (Parson) on Apr 26, 2007 at 12:07 UTC |