>>>>> "Buddy" == Buddy Burden <[EMAIL PROTECTED]> writes:

Buddy> Josh,
>> Why don't you just use: [% PROCESS my_template.tt2 %] to include
>> your blocks into your pages?

Buddy> That would process the whole template, but I only need one part.

But once loaded, it's cached in memory.

[% PROCESS my_template.tt2 | null %]

would even ensure that the non-block output didn't interfere.

>> Then just process them as normal like:
>> [% PROCESS bar %].

Buddy> But I need to do this from the code,

as in $tt->process('bar') ?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to