perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harald Weidner <hweidner-li...@gmx.net>
Subject magic tables in Embperl 2.1.0
Date Fri, 25 Nov 2005 13:28:18 GMT
Hello,

I have a problem concerning magic tables. In earlier days, I remeber
that the following Embedded Perl code

  [- @ary = ( [a,b], [c,d], [e,f] ) -]

  <table>
   <tr><th>Head1</th><th>Head2</th></tr>
   <tr><td>[+ $ary[$row][$col] +]</td></tr>
  </table>

the output looked like this:

  Head1  Head2
  a      b
  c      d
  e      f

However, with the same code on a current Embperl 2.1.0 release,
I get this:

  Head1  Head2
  a      b
  Head1  Head2
  c      d
  Head1  Head2
  e      f

i.e. the table header repeats with every line.

Is it possible to get the old behaviour even with the current Embperl?

Regards,
Harald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message