Re: [htmltmpl] Nested templates
                
                Brought to you by:
                
                    samtregar
                    
                
            
            
        
        
        
    | 
     
      
      
      From: Michael P. <mp...@pl...> - 2009-11-25 14:34:31
      
     
   | 
On 11/24/2009 09:24 PM, Brad Baxter wrote:
> Is there a better way?
I've done this by using a different name for each pass. So something like:
   <pass2_var name="<tmpl_var name=foo>">
So you run it through HTML::Template once to get the output and then
    s/<pass2_/<tmpl_/gi;
And then run it again.
-- 
Michael Peters
Plus Three, LP
 |