Debian Codegraph @

test/cmp/plain.htm

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