Simple task, or at least you'd think so.
I want to load the source for a template file by filename, utilizing
the template path search support in Template Toolkit. I've been able to
retrieve a Template::Document, but I have no access to the source of
the template itself.
Template::Provider has the path search code, but right after _load-ing
the template, it compiles it, overwriting the text element of the hash
which held the source.
The end goal here is to preprocess the template source, then recompile
and update the Template::Document.
Ideas?
--
Brad Choate
http://bradchoate.com/
|