January 2013 Archives

Subtle Template Toolkit bug / quiz

What does this produce:

    [%-
        SET foo = 0;
        foo = 1 IF 0;
        '--'; foo; '--';
    %]

(If you don't see the answer, click through to the page ;)

About minty

user-pic I blog about Perl.