Hi.
I have a test document, shown here:
--cut here--
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>foo</title>
</head>
<body>
<h1>foo</h1>
<table>
<tr><td>row</td></tr>
[- { my $row = 1; } -]
</table>
<hr>
<address><a href="mailto:[EMAIL PROTECTED]">Michael
Stevens</a></address>
<!-- Created: Fri Apr 27 11:38:24 BST 2001 -->
<!-- hhmts start -->
Last modified: Fri Apr 27 11:39:17 BST 2001
<!-- hhmts end -->
</body>
</html>
--cut here--
This behaves as I expect in embperl 1.3 - shows the table
row only once.
Under the latest dev version of embperl 2.0, it shows the row
many times.
I'm aware that $col and $row are parsed by embperl
to create dynamic tables, but I didn't expect that in
this case, $row would be at a scope where embperl would
'see' it and take that action - I thought this would only
happen with variables global to the whole page. And, that
seems to be what used to happen.
Michael
http://www.iii.co.uk
Interactive Investor International is a leading UK Internet personal
finance service that provides individuals with the capability to identify,
compare, monitor and buy online a number of financial products and services.
Interactive Investor Trading Limited, a subsidiary of Interactive Investor
International plc, is regulated by the SFA.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]