[Petal] new() or process() on a string rather than a file?

Jonathan Vanasco petal-list at 2xlp.com
Wed Sep 27 04:38:29 BST 2006


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



More information about the Petal mailing list