On 2005-10-12, Ron Savage <[EMAIL PROTECTED]> wrote:
>
> While trying and failing to get
><tmpl_if name=__first__>
> working on loops and simultaneously on loops within loops (loop_context_vars
> =>
> 1) (Any ideas?), I found this.
>
> Lines 2965 .. 2967 of Template.pm are:
> @{$value_set}{qw(__first__ __last__ __inner__ __odd__ __counter__)} =
>
> (0,0,0,0)
> if ($loop_context_vars);
>
> There are 5 tokens in that array slice, but only 4 zeros. Wrong or intended,
> do
> you think? I think it's a bug.
So write an automated test that fails because of this bug, and then we
can all be sure. If it exists, it would affect "__counter__" not "__first_".
Mark
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]