I've been working on how to perform 2-phase processing of a template. This
involves 1) initializing the template with page-specific language-specific
evaluation, 2) output that template to a scalar, 3) regex my munged tmpl_var
tags so they will now be recognizeable, 4) load this template (from scalar)
so that it is now ready for display-specific (re-)evalulation and output.

This should work ok with H::T. But, the only way I can make it work with
C::A is if I write my own load_tmpl method to distinguish between the first
load from file and second load from scalar. If C::A used H::T's "->new"
method, the source of the template could be passed as a parm on load_tmpl
("filename =>", or "scalarref =>").

What are the chances of getting this more flexible interface to H::T?

Thanks,
Mark


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to