| 1 |
<html> |
| 2 |
<head> |
| 3 |
<title>Tests for Embperl - Importing subs</title> |
| 4 |
</head> |
| 5 |
|
| 6 |
|
| 7 |
<body> |
| 8 |
|
| 9 |
<h1>Tests for Embperl - Importing subs</h1> |
| 10 |
|
| 11 |
First sub: |
| 12 |
*1* |
| 13 |
*1*<h2>1.) Here goes some normal html text <h2> |
| 14 |
*1* |
| 15 |
|
| 16 |
Second sub: |
| 17 |
*2* |
| 18 |
*2*2.) Here comes some perl: |
| 19 |
*2* |
| 20 |
*2**2* |
| 21 |
*2*foo = Hello world<br> |
| 22 |
*2*testdata = <br> |
| 23 |
*2* |
| 24 |
|
| 25 |
And now a table splitted into several subs: |
| 26 |
|
| 27 |
<table> |
| 28 |
<tr><th>1</th><th>2></th></tr> |
| 29 |
<tr> |
| 30 |
*4* |
| 31 |
*4*<td>a1<td> |
| 32 |
*4* |
| 33 |
|
| 34 |
</tr> |
| 35 |
</table> |
| 36 |
|
| 37 |
|
| 38 |
req_rec sub: |
| 39 |
^<h2>\$req_rec =.*?\$\$req_rec = |
| 40 |
*6* |
| 41 |
^\*6\*<h2>\$req_rec =.*?\$\$req_rec = |
| 42 |
*6* |
| 43 |
|
| 44 |
And done! |
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
</body> |
| 49 |
</html> |
| 50 |
|