It seems that this rather simple template (specifically ''a.$item'')
doesn't work correctly with XS. The problem is due to SvIOK() returning
false when ''item'' is incremented. In other words, Perl doesn't realize
that ''item'' is an a integer (probably thinks it's a string?). I'll
post a patch for this on Friday (US/Pacific time).

[%- a = [ 0, 1, 2, 3 ] -%]
[% item = 0 %]
[% WHILE item < 3 %]
  [% item = item + 1 %]
  [% a.$item %] = [% item %]
[% END %]

 - doug


Reply via email to