| 1 |
|
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<title>Embperl Tests - Errors in Include other Embperl pages via Execute 3</title> |
| 5 |
</head> |
| 6 |
|
| 7 |
<h1>Embperl Tests - Errors in Include other Embperl pages via Execute 3</h1> |
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
[# cause runtime error #] |
| 12 |
[- Execute ( {inputfile => 'incerr.htm', param => ['err', 'main'], errors => \@errors}) -] |
| 13 |
|
| 14 |
|
| 15 |
***errors: [+ "@errors" +]<br> |
| 16 |
|
| 17 |
|
| 18 |
[- $rc = Execute ( {inputfile => 'incerrobj.htm', errors => \@errors}) -] |
| 19 |
|
| 20 |
***rc: [+ $rc +] |
| 21 |
***errors: #[+ scalar(@errors) +]<br> |
| 22 |
***errors: [+ join ("\n\n", @errors) +]<br> |
| 23 |
***errobj: [- $e = $epreq -> errobj -][+ $e +]<br> |
| 24 |
***errobj msg: [+ $epreq -> errobj?$epreq -> errobj -> {msg}:'<undef>' +]<br> |
| 25 |
***errors msg: [+ ref $errors[-1]?$errors[-1] -> {msg}:'<undef>' +]<br> |
| 26 |
|
| 27 |
|
| 28 |
</body> |
| 29 |
</html> |