Hello!
I have Apache2.2 with mod_perl and Embperl2.3. The following script does not
work:
<!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN>
<HTML>
<HEAD>
<TITLE>Test</TITLE>
</HEAD>
<BODY>
[-
@array = (1,2,3,4,5,6,7,8);
$num = scalar @array;
$i = 0;
-]
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=10>
[$ while ($i < $num) $]
[$ if (($i % 2) == 0) $]
<TR>
[$ endif $]
<TD> [+ $array[$i] +] </TD>
[$ if (($i % 2 == 1) || ($num - 1 == $i)) $]
</TR>
[$ endif $]
[- $i++ -]
[$ endwhile $]
</TABLE>
</BODY>
</HTML>
Apache give empty page and in error-log of apache I see the following string:
[746]ERR: 9999: Error (no description) Unstructured forward jump, /usr/local/www/apache22/data/test1.epl Line 14 ->
Line 18
Can anybody help me?
--
George Piskorsky
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org
For additional commands, e-mail: embperl-h...@perl.apache.org