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

Jonathan Vanasco <[email protected]> Tue, 26 Sep 2006 23:38:29 -0400
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
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