[htmltmpl] using HTML::Template to generate static web pages
Brought to you by:
samtregar
From: Offer K. <of...@ne...> - 2003-10-11 20:28:14
|
Hi, I'm an HTML::Template newbie, and I was wondering whether the veterans on this list could help me. The documentation for HTML::Template talks about using it as a CGI script, to generate the HTML code "on-the-fly". However, I would like to use it as a regular Perl script, to generate static HTML pages. I know this *can* be done, since I tried it on the example provided in the documentation. But I'm wondering whether HTML::Template is really suitable for this kind of use, or if I'm "abusing" it. Is there another module you could recommend as better suited for this task? I've looked at the Template-Toolkit, but it looks a little more complex than HTML::Template, so before I choose it or another module over HTML::Template I would appreciate some advice from veteran users. Thanks in advance, Offer Kaye |