4
<title>Some Plain tests Embperl</title>
9
Here it starts with some HTML Text<P>
11
All values should be undefined:
20
First of all assign a value:
21
[- $a = '(this is the value in $a)' -] <BR>
23
Now we have some 'Umlaute':
26
[- $b = "$a äöü" -]
28
Now lets look what we are getting from this:<BR>
31
And now a and b together: [+ "$a$b" +]<P>
33
Here we have some HTML tags within the perl code, Embperl will delete them!<BR>
35
[+ $c = <BR> 6 + 17 <font size="3"> * 3 +]
37
Embperl will also translate HMTL escapes to the right characters i.e. $a &lt; 6 will get the perl expression $a < 6: <BR>
42
Now they should have a value
50
[- $a = 1; $b = 0; $c = 5; $d = 'txt' -]
112
[$ while $i <= $#ffld $]
113
[+ $ffld[$i] +] = [+ $fdat{$ffld[$i]} +]
115
[$ while $j <= $i $]
126
<td>[+ $c[$row][$col] +] </td>
131
<p> $tabmode = default <p>
133
<hr><p>Display an two dimensional array with one, two and three columns !<BR>
134
Please take a look at the source in your browser to see the difference<BR>
156
$a[0][[0] = '1/1' ;<BR>
157
$a[1][[0] = '2/1' ;<BR>
158
$a[1][[1] = '2/2' ;<BR>
159
$a[2][[0] = '3/1' ;<BR>
160
$a[2][[1] = '3/2' ;<BR>
161
$a[2][[2] = '3/3' ;<BR>
163
<P>$tabmode = default <P>
165
<table border="2" width="100%">
167
<td>[+ $a[$row][$col] +] </td>
171
<table border="2" width="100%">
178
<td>[+ $a[$row][$col] +] </td>
182
<table border="2" width="100%">
184
<th>[+ $b[2][$col] +]</th>
187
<td>[+ $a[$row][$col] +] </td>
196
<td>[+ $b[$row][$col] +] </td>
200
[+ $a[$row][$col] +] </td>
204
Shared data: [+ $testshare +] <br>
205
Not Shared data: [+ $testshareX +] <br>
207
<P>[+ $HTML::Embperl::VERSION +]<P>
210
<P>[+ local $tabmode = 1 +]<P>