Debian Codegraph @

test/cmp/opmask.htm

raw
1
2 <html>
3 <head>
4 <title>Some Plain tests Embperl</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) &auml;&ouml;&uuml;<BR>
28
29 And now a and b together: (this is the value in $a)(this is the value in $a) &auml;&ouml;&uuml;<P>
30
31 Here we have some HTML tags within the perl code, Embperl will delete them!<BR>
32
33 57
34 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>
35
36 1
37 Now they should have a value
38
39 $a = (this is the value in $a) <BR>
40 $b = (this is the value in $a) &auml;&ouml;&uuml; <BR>
41 $c = 57 <BR>
42 $d = 1 <BR>
43 $e = 2 <BR>
44
45 a <br>
46 a <br>
47 a <br>
48 b is null <br>
49 a <br>
50 b is null <br>
51 a<br>
52 b is null <br>
53 <table></table>
54
55
56 <p> $tabmode = default <p>
57
58 <hr><p>Display an two dimensional array with one, two and three columns !<BR>
59 Please take a look at the source in your browser to see the difference<BR>
60
61 $a[0][0] = '1/1' ;<BR>
62 $a[1][0] = '2/1' ;<BR>
63 $a[1][1] = '2/2' ;<BR>
64 $a[2][0] = '3/1' ;<BR>
65 $a[2][1] = '3/2' ;<BR>
66 $a[2][2] = '3/3' ;<BR>
67
68 <P>$tabmode = default <P>
69
70 <table border="2" width="100%">
71 <tr>
72 <td>a1/1 </td>
73 </tr>
74
75 <tr>
76 <td>a2/1 </td>
77
78 <td>a2/2 </td>
79 </tr>
80
81 <tr>
82 <td>a3/1 </td>
83
84 <td>a3/2 </td>
85
86 <td>a3/3 </td>
87 </tr>
88 </table>
89
90 <table border="2" width="100%">
91 <tr>
92 <th>1</th>
93 <th>2</th>
94 <th>3</th>
95 </tr>
96 <tr>
97 <td>a1/1 </td>
98 </tr>
99
100 <tr>
101 <td>a2/1 </td>
102
103 <td>a2/2 </td>
104 </tr>
105
106 <tr>
107 <td>a3/1 </td>
108
109 <td>a3/2 </td>
110
111 <td>a3/3 </td>
112 </tr>
113 </table>
114
115 <table border="2" width="100%">
116 <tr>
117 <th>b3/1</th>
118
119 <th>b3/2</th>
120
121 <th>b3/3</th>
122 </tr>
123 <tr>
124 <td>a1/1 </td>
125 </tr>
126
127 <tr>
128 <td>a2/1 </td>
129
130 <td>a2/2 </td>
131 </tr>
132
133 <tr>
134 <td>a3/1 </td>
135
136 <td>a3/2 </td>
137
138 <td>a3/3 </td>
139 </tr>
140 </table>
141
142 <table>
143 <tr>
144 <td>
145 <table>
146 <tr>
147 <td>b1/1 </td>
148 </tr>
149
150 <tr>
151 <td>b2/1 </td>
152
153 <td>b2/2 </td>
154 </tr>
155
156 <tr>
157 <td>b3/1 </td>
158
159 <td>b3/2 </td>
160
161 <td>b3/3 </td>
162 </tr>
163 </table>
164
165 a1/1 </td>
166 </tr>
167
168 <tr>
169 <td>
170 <table>
171 <tr>
172 <td>b1/1 </td>
173 </tr>
174
175 <tr>
176 <td>b2/1 </td>
177
178 <td>b2/2 </td>
179 </tr>
180
181 <tr>
182 <td>b3/1 </td>
183
184 <td>b3/2 </td>
185
186 <td>b3/3 </td>
187 </tr>
188 </table>
189
190 a2/1 </td>
191
192 <td>
193 <table>
194 <tr>
195 <td>b1/1 </td>
196 </tr>
197
198 <tr>
199 <td>b2/1 </td>
200
201 <td>b2/2 </td>
202 </tr>
203
204 <tr>
205 <td>b3/1 </td>
206
207 <td>b3/2 </td>
208
209 <td>b3/3 </td>
210 </tr>
211 </table>
212
213 a2/2 </td>
214 </tr>
215
216 <tr>
217 <td>
218 <table>
219 <tr>
220 <td>b1/1 </td>
221 </tr>
222
223 <tr>
224 <td>b2/1 </td>
225
226 <td>b2/2 </td>
227 </tr>
228
229 <tr>
230 <td>b3/1 </td>
231
232 <td>b3/2 </td>
233
234 <td>b3/3 </td>
235 </tr>
236 </table>
237
238 a3/1 </td>
239
240 <td>
241 <table>
242 <tr>
243 <td>b1/1 </td>
244 </tr>
245
246 <tr>
247 <td>b2/1 </td>
248
249 <td>b2/2 </td>
250 </tr>
251
252 <tr>
253 <td>b3/1 </td>
254
255 <td>b3/2 </td>
256
257 <td>b3/3 </td>
258 </tr>
259 </table>
260
261 a3/2 </td>
262
263 <td>
264 <table>
265 <tr>
266 <td>b1/1 </td>
267 </tr>
268
269 <tr>
270 <td>b2/1 </td>
271
272 <td>b2/2 </td>
273 </tr>
274
275 <tr>
276 <td>b3/1 </td>
277
278 <td>b3/2 </td>
279
280 <td>b3/3 </td>
281 </tr>
282 </table>
283
284 a3/3 </td>
285 </tr>
286 </table>
287
288 Shared data: Shared Data <br>
289 Not Shared data: <br>
290
291 <P><P>
292
293 <P>17<P>
294 <P>1<P>
295
296 <P>
297
298 </body>
299 </html>
300