This was brought up by Andy when I asked if there was a better way to speed
up hash access in DBI...  He called it multipass templates.

(Note: Since NAMESPACE handlers were added, the recommendation for me is
obsolete)  Still looks like it would work for you.

-Bryan


> -----Original Message-----
> From: Dave Hodgkinson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 29, 2002 5:19 AM
> To: darren chamberlain
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Templates] Another slightly odd HOWTO question
> 
> 
> darren chamberlain <[EMAIL PROTECTED]> writes:
> 
> > * Dave Hodgkinson <[EMAIL PROTECTED]> [2002-07-26 12:00]:
> > > I want to render some pages in two steps, so one rendering to flat
> > > files of items from a database, then another rendering via my good
> > > friend Apache::Template live.
> > > 
> > > Obviously, the [% stuff gets wiped out on the first pass. 
> Can I escape
> > > them somehow? Or do I have to use differing delimiters 
> for each pass?
> > 
> > Have the two steps use different TAGSTLYES:
> > 
> >   [% TAGS <% %> %]
> 
> It took about two days for it to sink in *just* how sneaky that is.
> 
> -- 
> Dave Hodgkinson, Wizard for Hire         http://www.davehodgkinson.com
> Editor-in-chief, The Highway Star        http://www.thehighwaystar.com
>    Interim Technical Director, Web Architecture Consultant for hire
> 
> _______________________________________________
> templates mailing list
> [EMAIL PROTECTED]
> http://www.template-toolkit.org/mailman/listinfo/templates
> 

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates

Reply via email to