I wrote:
> I also thought about GraphViz, but I'm backing off from
> that as it looks like the effort/value ratio is too low :)

Oops, I meant too high, of course.

When I run this template (assuming this is debug.tt):

<table>
    [% FOREACH key = hash.keys %]
        [% val = hash.$key %]
        <tr>
            <th>[% key %]</td>
            <td>
                [% IF val.keys %]
                    [% INCLUDE debug.tt hash=val %]
                [% ELSE %]
                    [% val %]
                [% END %]
            </td>
        </tr>
    [% END %]
</table>

...I get 'Deep recursion on subroutine "Template::Context::process"' errors,
even with %options{RECURSION=>1}. What am I doing wrong?

- Mark.


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

Reply via email to