Preventing further execution after a redirect

2002-01-10 Thread Matthew Freake
Hi, I'm currently working on an embedded perl component which will sometimes redirect the user to another page. Once it's done this, it has to "exit" to prevent execution of any subsequent code. The problem is that the component is rather deep in the Execute structure (component1.epl executes co

Lack of error reporting in embperl 2 ?

2001-05-14 Thread Matthew Freake
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: [- $table_type=2; -] [$ if ($table_type == 1) $] One kind of table Another kind of table [$ endif $] NOTE the missing close angle bracket on the first tag ! When