This isn't so much a bug in embperl 2, as it is a lack of an expected error
message
I have the following script:
<html>
<head>
</head>
<body>
[-
$table_type=2;
-]
[$ if ($table_type == 1) $]
<table>
<tr><td>One kind of table</td></tr>
</table
[$ else $]
<table>
<tr><td>Another kind of table</td></tr>
</table>
[$ endif $]
</body>
</html>
NOTE the missing close angle bracket on the first </table> tag !
When this page is displayed, no error is thrown up and the output is all the
html except that which would have come out of the buggy if statement.
Thanks
Matt Freake
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]