Re: [htmltmpl] Template from DB, not file
Brought to you by:
samtregar
From: Roger B. W. <ro...@fi...> - 2007-01-14 21:52:30
|
On Sun, Jan 14, 2007 at 10:48:47PM +0100, Joakim Syversen wrote: >Is it possible to use HTML::TEMPLATE with the template as a string from a >database rather than a file? I've looked in the examples and some of the >documentation but everywhere the template seems to be stored in a file. You can certainly use the template as a reference to a scalar (a "string"). Search the documentation for "scalarref". R |