Jonathan Vanasco | 27 Sep 05:38

Re: new() or process() on a string rather than a file?

if you're pulling it out of a DBI, chances are that you have a lot of  
templates

the strength of petal is in caching, which a multitude of templates  
would negate

have you looked at template::tal ?
	
	http://search.cpan.org/~tomi/Template-TAL-0.8/lib/Template/TAL.pm

it was built specifically for things like what you're talking about

unless you did something crazy, you can use the same templates for  
Petal And Template::Tal

even better- you can use both systems at once on the same site ( i've  
done it , it works like a charm ).

// Jonathan Vanasco


Gmane