perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <per...@elem.com>
Subject Re: is there a templating system that....
Date Mon, 15 Aug 2005 20:51:25 GMT
On Mon, 2005-08-15 at 15:48 -0500, David Nicol wrote:
> If the target regex was set to something like
> 
>      use hypothetical_substituting_template_system
>           template_vars_hashref => \(our %TemplateVars),
>           target_regex => qr{<font color="FF0000">\s*([^<]+?)\s*</font>};
> 
> for example, the designer would be able to specify template names in by
> coloring the text red, without viewing any source code.

You won't get far with that before you need to use a variable in a place
where the font tags would violate XHTML.  Petal is a much more complete
solution.

- Perrin


Mime
View raw message