| 1 |
<html> |
| 2 |
<head> |
| 3 |
<title>Tests for Embperl - Embperl sub Metacommand 2</title> |
| 4 |
</head> |
| 5 |
|
| 6 |
|
| 7 |
<body> |
| 8 |
|
| 9 |
[###### sub 1 #####] |
| 10 |
[$sub txt1$] |
| 11 |
*txt* |
| 12 |
*txt* <h2>Here goes some normal html text <h2> |
| 13 |
*txt* |
| 14 |
[$endsub$] |
| 15 |
|
| 16 |
[###### sub 2 #####] |
| 17 |
[$sub txt2$] |
| 18 |
*txt2* |
| 19 |
*txt2* <h2>Here goes some normal html text <h2> |
| 20 |
*txt2* |
| 21 |
[- txt1 -] |
| 22 |
*txt2* after txt1 |
| 23 |
[$endsub$] |
| 24 |
|
| 25 |
[###### sub 3 #####] |
| 26 |
[$sub txt3$] |
| 27 |
[- txt2 -] |
| 28 |
*txt3* after txt3 |
| 29 |
[$endsub$] |
| 30 |
|
| 31 |
[$sub tabrow $] |
| 32 |
|
| 33 |
<tr><td>[+ $_[0] +]</td></tr> |
| 34 |
|
| 35 |
[$endsub$] |
| 36 |
|
| 37 |
<h1>Tests for Embperl - Embperl sub Metacommand 2</h1> |
| 38 |
|
| 39 |
*1 |
| 40 |
[- txt1 -] |
| 41 |
*2 |
| 42 |
[- txt2 -] |
| 43 |
*3 |
| 44 |
[- txt1 -] |
| 45 |
[- txt2 -] |
| 46 |
*4 |
| 47 |
[- txt1 ; txt2 -] |
| 48 |
[- txt1 ; txt2 -] |
| 49 |
----> txt3 |
| 50 |
[- txt3 -] |
| 51 |
|
| 52 |
|
| 53 |
======================================================== |
| 54 |
|
| 55 |
<table> |
| 56 |
[- tabrow(1) -] |
| 57 |
[$if (1) $] |
| 58 |
[- tabrow(2) -] |
| 59 |
[$else$] |
| 60 |
[- tabrow(3) -] |
| 61 |
[$endif$] |
| 62 |
[- tabrow(4) -] |
| 63 |
-> 5 |
| 64 |
[- tabrow(5) -] |
| 65 |
</table> |
| 66 |
|