| 1 |
|
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<title>Some Plain tests for Embperl</title> |
| 5 |
</head> |
| 6 |
|
| 7 |
<body> |
| 8 |
|
| 9 |
Here it starts with some HTML Text<P> |
| 10 |
|
| 11 |
|
| 12 |
All values should be undefined: |
| 13 |
|
| 14 |
$a = <BR> |
| 15 |
$b = <BR> |
| 16 |
$c = <BR> |
| 17 |
$d = <BR> |
| 18 |
$e = <BR> |
| 19 |
|
| 20 |
|
| 21 |
First of all assign a value: |
| 22 |
<BR> |
| 23 |
|
| 24 |
Now we have some 'Umlaute': |
| 25 |
|
| 26 |
|
| 27 |
Now lets look what we are getting from this:<BR> |
| 28 |
(this is the value in $a) (this is the value in $a) äöü<BR> |
| 29 |
|
| 30 |
And now a and b together: (this is the value in $a)(this is the value in $a) äöü<P> |
| 31 |
|
| 32 |
Here we have some HTML tags within the perl code, Embperl will delete them!<BR> |
| 33 |
|
| 34 |
57 |
| 35 |
Embperl will also translate HMTL escapes to the right characters i.e. $a &lt; 6 will get the perl expression $a < 6: <BR> |
| 36 |
|
| 37 |
1 |
| 38 |
Now they should have a value |
| 39 |
|
| 40 |
$a = (this is the value in $a) <BR> |
| 41 |
$b = (this is the value in $a) äöü <BR> |
| 42 |
$c = 57 <BR> |
| 43 |
$d = 1 <BR> |
| 44 |
$e = 2 <BR> |
| 45 |
|
| 46 |
<P>Ok.<P> |
| 47 |
|
| 48 |
</body> |
| 49 |
</html> |
| 50 |
|