~ubuntu-branches/debian/sid/libembperl-perl/sid

« back to all changes in this revision

Viewing changes to test/html/importsub.htm

  • Committer: Bazaar Package Importer
  • Author(s): Angus Lees
  • Date: 2004-02-15 14:23:39 UTC
  • Revision ID: james.westby@ubuntu.com-20040215142339-n21gqf7mx9tmyb8d
Tags: upstream-2.0b10
ImportĀ upstreamĀ versionĀ 2.0b10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>