Debian Codegraph @

test/cmp/div.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 <td>a1/1 </td>
93 </tr>
94
95 <tr>
96 <td>a2/1 </td>
97
98 <td>a2/2 </td>
99 </tr>
100
101 <tr>
102 <td>a3/1 </td>
103
104 <td>a3/2 </td>
105
106 <td>a3/3 </td>
107 </tr>
108 </table>
109
110 <table border="2" width="100%">
111 <tr>
112 <td>a1/1 </td>
113 </tr>
114
115 <tr>
116 <td>a2/1 </td>
117
118 <td>a2/2 </td>
119 </tr>
120
121 <tr>
122 <td>a3/1 </td>
123
124 <td>a3/2 </td>
125
126 <td>a3/3 </td>
127 </tr>
128 </table>
129
130 <table>
131 <tr>
132 <td>
133 <table>
134 <tr>
135 <td>b1/1 </td>
136 </tr>
137
138 <tr>
139 <td>b2/1 </td>
140
141 <td>b2/2 </td>
142 </tr>
143
144 <tr>
145 <td>b3/1 </td>
146
147 <td>b3/2 </td>
148
149 <td>b3/3 </td>
150 </tr>
151 </table>
152
153 a1/1 </td>
154 </tr>
155
156 <tr>
157 <td>
158 <table>
159 <tr>
160 <td>b1/1 </td>
161 </tr>
162
163 <tr>
164 <td>b2/1 </td>
165
166 <td>b2/2 </td>
167 </tr>
168
169 <tr>
170 <td>b3/1 </td>
171
172 <td>b3/2 </td>
173
174 <td>b3/3 </td>
175 </tr>
176 </table>
177
178 a2/1 </td>
179
180 <td>
181 <table>
182 <tr>
183 <td>b1/1 </td>
184 </tr>
185
186 <tr>
187 <td>b2/1 </td>
188
189 <td>b2/2 </td>
190 </tr>
191
192 <tr>
193 <td>b3/1 </td>
194
195 <td>b3/2 </td>
196
197 <td>b3/3 </td>
198 </tr>
199 </table>
200
201 a2/2 </td>
202 </tr>
203
204 <tr>
205 <td>
206 <table>
207 <tr>
208 <td>b1/1 </td>
209 </tr>
210
211 <tr>
212 <td>b2/1 </td>
213
214 <td>b2/2 </td>
215 </tr>
216
217 <tr>
218 <td>b3/1 </td>
219
220 <td>b3/2 </td>
221
222 <td>b3/3 </td>
223 </tr>
224 </table>
225
226 a3/1 </td>
227
228 <td>
229 <table>
230 <tr>
231 <td>b1/1 </td>
232 </tr>
233
234 <tr>
235 <td>b2/1 </td>
236
237 <td>b2/2 </td>
238 </tr>
239
240 <tr>
241 <td>b3/1 </td>
242
243 <td>b3/2 </td>
244
245 <td>b3/3 </td>
246 </tr>
247 </table>
248
249 a3/2 </td>
250
251 <td>
252 <table>
253 <tr>
254 <td>b1/1 </td>
255 </tr>
256
257 <tr>
258 <td>b2/1 </td>
259
260 <td>b2/2 </td>
261 </tr>
262
263 <tr>
264 <td>b3/1 </td>
265
266 <td>b3/2 </td>
267
268 <td>b3/3 </td>
269 </tr>
270 </table>
271
272 a3/3 </td>
273 </tr>
274 </table>
275
276 ^<P>.*?<P>
277
278 <P>17<P>
279 <P>1<P>
280
281 <P>
282
283 <table>
284 <tr>
285 <td>ii[0] = 0 </td>
286 </tr>
287
288 <tr>
289 <td>ii[1] = 1 </td>
290 </tr>
291
292 <tr>
293 <td>ii[2] = 2 </td>
294 </tr>
295
296 <tr>
297 <td>ii[3] = 3 </td>
298 </tr>
299
300 <tr>
301 <td>ii[4] = 4 </td>
302 </tr>
303
304 <tr>
305 <td>ii[5] = 5 </td>
306 </tr>
307
308 <tr>
309 <td>ii[6] = 6 </td>
310 </tr>
311
312 <tr>
313 <td>ii[7] = 7 </td>
314 </tr>
315
316 <tr>
317 <td>ii[8] = 8 </td>
318 </tr>
319
320 <tr>
321 <td>ii[9] = 9 </td>
322 </tr>
323 </table>
324
325 </body>
326 </html>