File: rawinput.htm

package info (click to toggle)
libembperl-perl 2.5.0-4%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 6,200 kB
  • ctags: 3,072
  • sloc: ansic: 21,387; perl: 14,496; cpp: 467; xml: 49; makefile: 32; sh: 24
file content (82 lines) | stat: -rw-r--r-- 1,990 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

<html>
<head>
<title>Some Plain tests for Embperl using optRawInput</title>
</head>

<body>

Here it starts with some HTML Text<P>

All values should be undefined:

$a =  <BR>
$b =  <BR>
$c =  <BR>
$d =  <BR>
$e =  <BR>


First of all assign a value:
<BR>

Now we have some 'Umlaute':


Now lets look what we are getting from this:<BR>
(this is the value in $a) (this is the value in $a) 
 &amp;auml;&amp;ouml;&amp;uuml;<BR>

And now a and b together: (this is the value in $a)(this is the value in $a) 
 &amp;auml;&amp;ouml;&amp;uuml;<P>

Here we have some HTML tags within the perl code, <br>
Embperl will not delete them when optRawInput is set !<BR>

&lt;BR&gt; 6 + 17 &lt;font size=&quot;3&quot;&gt; * 3
Here we have something which looks like a HTML tag, but does not start with<br>
a character, Embperl does not change them!<BR>

SELECT * FROM a ORDER BY b USING &lt;; Hi There&gt;
Embperl will not translate HMTL escapes to the right characters <br>
when optRawInput is set<BR>

2 &amp;lt; 6
Now they should have a value

$a = (this is the value in $a) <BR>
$b = (this is the value in $a) 
 &amp;auml;&amp;ouml;&amp;uuml; <BR>
$c = &lt;BR&gt; 6 + 17 &lt;font size=&quot;3&quot;&gt; * 3 <BR>
$d = 2 &amp;lt; 6 <BR>
$e = 2 <BR>

<P>Ok.<P>


optRawInput is now: 1 <BR>
optRawInput is set now to: 1 <BR>
optRawInput is now: 1 <BR>

&lt;BR&gt; 6 + 17 &lt;font size=&quot;3&quot;&gt; * 3
Now lets look what we are getting from this:<BR>
$a = (this is the value in $a) <BR>
$b = (this is the value in $a) 
 &amp;auml;&amp;ouml;&amp;uuml; <BR>
$c = &lt;BR&gt; 6 + 17 &lt;font size=&quot;3&quot;&gt; * 3 <BR>

optRawInput is now: 1 <BR>
optRawInput is set now to: 0 <BR>
optRawInput is now: 0 <BR>

&lt;BR&gt; 6 + 17 &lt;font size=&quot;3&quot;&gt; * 3
Now lets look what we are getting from this:<BR>
$a = (this is the value in $a) <BR>
$b = (this is the value in $a) 
 &amp;auml;&amp;ouml;&amp;uuml; <BR>
$c = &lt;BR&gt; 6 + 17 &lt;font size=&quot;3&quot;&gt; * 3 <BR>


</body>
</html>