There seems to be a bug in Embperl 2.0b8 where the second and
subsequent attempts to set $escmode without any normal intervening
output are ignored. Here's an example of the problem.
The following code:
[!
sub hello () {
local $escmode = 0;
print OUT "<b>hello</b><br>\n";
}
!]
<html>
<body>
[- hello(); -]
[- hello(); -]
<br><br>reset<br>
[- hello(); -]
[- hello(); -]
<br><br>reset<br>
[- hello(); hello(); -]
</body>
</html>
Produces the output:
<html>
<body>
<b>hello</b><br>
<b>hello</b><br>
<br><br>reset<br>
<b>hello</b><br>
<b>hello</b><br>
<br><br>reset<br>
<b>hello</b><br>
<b>hello</b><br>
</body>
</html>
--
David Hull
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]