Debian Codegraph @

test/html/importsub.htm

raw
1 <html>
2 <head>
3 <title>Tests for Embperl - Importing subs</title>
4 </head>
5
6
7 <body>
8
9 <h1>Tests for Embperl - Importing subs</h1>
10
11 [! Execute({inputfile => 'subimp.htm', import => 1}) !]
12
13 First sub:
14 [- tfirst -]
15
16 Second sub:
17 [- tsecond -]
18
19
20 [- @cell = (['a1', 'a2'], ['b1', 'b2']) -]
21
22 And now a table splitted into several subs:
23
24 <table>
25 <tr><th>1</th><th>2></th></tr>
26 <tr>
27 [- tabcell (\@cell)-]
28 </tr>
29 </table>
30
31
32 req_rec sub:
33 <h2>$req_rec = [+ $req_rec +] $$req_rec = [+ $$req_rec +]<h2>
34 [- trr -]
35
36 And done!
37
38
39
40 </body>
41 </html>