Debian Codegraph @

test/cmp/importmodule.htm

raw
1 <html>
2 <head>
3 <title>Tests for Embperl - Importing subs from a Perl module</title>
4 </head>
5
6
7 <body>
8
9 <h1>Tests for Embperl - Importing from a Perl module</h1>
10
11 First sub:
12 <h2>1.) Here goes some normal html text <h2>
13
14
15 Second sub:
16 ^params in main = HTML::Embperl::Req=HASH
17 2.) Here comes some perl:
18
19 foo = Hello world<br>
20 testdata = <br>
21 params in sub.pm = 1 2 3
22
23 And now a table splitted into several subs:
24
25 <table>
26 <tr><th>1</th><th>2></th></tr>
27 <tr>
28 <td>a1<td>
29
30
31 </tr>
32 </table>
33
34 And done!
35
36
37
38 </body>
39 </html>
40