The variable $cnt doesn't seem to work for me. Am I doing something
wrong?
Here's my code:
##########################################################
<html>
<head>
<title>$cnt test</title>
</head>
<body>
[- $maxcol = 3; -]
[+ $maxcol +]<p>
[.- @test_arr = ('A', 'B', 'C', 'D', 'E', 'F', 'G'); -]
<table>
<tr>
<td>[+ $test_arr[$cnt] +]</td>
</tr>
</table>
</body>
</html>
###########################################################
You can run this here:
http://www.merit.edu/~tmwhite/test/cnt.epl
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
wrong?
Here's my code:
##########################################################
<html>
<head>
<title>$cnt test</title>
</head>
<body>
[- $maxcol = 3; -]
[+ $maxcol +]<p>
[.- @test_arr = ('A', 'B', 'C', 'D', 'E', 'F', 'G'); -]
<table>
<tr>
<td>[+ $test_arr[$cnt] +]</td>
</tr>
</table>
</body>
</html>
###########################################################
You can run this here:
http://www.merit.edu/~tmwhite/test/cnt.epl
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org