| 1 |
|
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<title>Some Plain tests for Embperl using optRawInput</title> |
| 5 |
</head> |
| 6 |
|
| 7 |
<body> |
| 8 |
|
| 9 |
Here it starts with some HTML Text<P> |
| 10 |
|
| 11 |
All values should be undefined: |
| 12 |
|
| 13 |
$a = <BR> |
| 14 |
$b = <BR> |
| 15 |
$c = <BR> |
| 16 |
$d = <BR> |
| 17 |
$e = <BR> |
| 18 |
|
| 19 |
|
| 20 |
First of all assign a value: |
| 21 |
<BR> |
| 22 |
|
| 23 |
Now we have some 'Umlaute': |
| 24 |
|
| 25 |
|
| 26 |
Now lets look what we are getting from this:<BR> |
| 27 |
(this is the value in $a) (this is the value in $a) |
| 28 |
&auml;&ouml;&uuml;<BR> |
| 29 |
|
| 30 |
And now a and b together: (this is the value in $a)(this is the value in $a) |
| 31 |
&auml;&ouml;&uuml;<P> |
| 32 |
|
| 33 |
Here we have some HTML tags within the perl code, <br> |
| 34 |
Embperl will not delete them when optRawInput is set !<BR> |
| 35 |
|
| 36 |
<BR> 6 + 17 <font size="3"> * 3 |
| 37 |
Here we have something which looks like a HTML tag, but does not start with<br> |
| 38 |
a character, Embperl does not change them!<BR> |
| 39 |
|
| 40 |
SELECT * FROM a ORDER BY b USING <; Hi There> |
| 41 |
Embperl will not translate HMTL escapes to the right characters <br> |
| 42 |
when optRawInput is set<BR> |
| 43 |
|
| 44 |
2 &lt; 6 |
| 45 |
Now they should have a value |
| 46 |
|
| 47 |
$a = (this is the value in $a) <BR> |
| 48 |
$b = (this is the value in $a) |
| 49 |
&auml;&ouml;&uuml; <BR> |
| 50 |
$c = <BR> 6 + 17 <font size="3"> * 3 <BR> |
| 51 |
$d = 2 &lt; 6 <BR> |
| 52 |
$e = 2 <BR> |
| 53 |
|
| 54 |
<P>Ok.<P> |
| 55 |
|
| 56 |
|
| 57 |
optRawInput is now: 1 <BR> |
| 58 |
optRawInput is set now to: 1 <BR> |
| 59 |
optRawInput is now: 1 <BR> |
| 60 |
|
| 61 |
<BR> 6 + 17 <font size="3"> * 3 |
| 62 |
Now lets look what we are getting from this:<BR> |
| 63 |
$a = (this is the value in $a) <BR> |
| 64 |
$b = (this is the value in $a) |
| 65 |
&auml;&ouml;&uuml; <BR> |
| 66 |
$c = <BR> 6 + 17 <font size="3"> * 3 <BR> |
| 67 |
|
| 68 |
optRawInput is now: 1 <BR> |
| 69 |
optRawInput is set now to: 0 <BR> |
| 70 |
optRawInput is now: 0 <BR> |
| 71 |
|
| 72 |
<BR> 6 + 17 <font size="3"> * 3 |
| 73 |
Now lets look what we are getting from this:<BR> |
| 74 |
$a = (this is the value in $a) <BR> |
| 75 |
$b = (this is the value in $a) |
| 76 |
&auml;&ouml;&uuml; <BR> |
| 77 |
$c = <BR> 6 + 17 <font size="3"> * 3 <BR> |
| 78 |
|
| 79 |
|
| 80 |
</body> |
| 81 |
</html> |
| 82 |
|