>>>>> "Sergey" == Sergey Martynoff <[EMAIL PROTECTED]> writes:

Sergey> As I can see, current TT2 parser is not state-driven. The real
Sergey> disadvnatage is that you cannot use things like this [% var = '%]'
Sergey> %] in template.

What would you want that to do?  I capture blocks with:

    [% var = BLOCK %]
    Lots
    of
    text
    here
    that
    goes
    into
    var
    [% END %]

Works great.

-- 
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