Hi All,

I'm new to the mailing list. I have a question about wrong WHILE behaviour
(this is a minimal snippet to reproduce):
[% avar = [0,1,2] %][% WHILE (bvar = avar.shift) %][% bvar %][% END %]

It doesn't print nothing... Since fixing Directives.pm and Stash.pm
to recognize undef breaks some tests from test suite, I expect this is
a known bug/feature.

Is there any elegant workaround ?

Sincerely,
Alex





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

Reply via email to