File: subout.htm

package info (click to toggle)
libembperl-perl 2.5.0-4%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 6,200 kB
  • ctags: 3,072
  • sloc: ansic: 21,387; perl: 14,496; cpp: 467; xml: 49; makefile: 32; sh: 24
file content (88 lines) | stat: -rw-r--r-- 989 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<html>
<head>
<title>Tests for Embperl - Embperl sub Metacommand 2</title>
</head>


<body>

[###### sub 1 #####]
[$sub txt1$]
*txt* 
*txt* <h2>[+ "h2" +]<h2>
*txt* 
[$endsub$]

[###### sub 2 #####]
[$sub txt2$]
*txt2* 
*txt2* <h2>Here goes some normal html text <h2>
*txt2* 
[- txt1 -]
*txt2* after txt1
[$endsub$]

[###### sub 3 #####]
[$sub txt3$]
[- txt2 -]
*txt3* after txt3
[$endsub$]

[###### sub 4 #####]
[$sub txt4$]
[- txt1 -]
[$endsub$]

[###### sub 5 #####]
[$sub txt5$]
[+ "sub 5" +]
[$endsub$]


[###### sub 6 #####]
[$sub txt6$]
[- print OUT "sub 6\n" -]
[$endsub$]


[###### sub 7 #####]
[$sub txt7$]
[- txt5 -]
[+ "sub 7" +]
[$endsub$]


[###### sub 8 #####]
[$sub txt8$]
[- txt6 -]
[- print OUT "sub 8\n" -]
[$endsub$]



<h1>Tests for Embperl - Embperl sub Metacommand output</h1>

*1
[- txt1 -]
*2
[- txt2 -]
*3
[- txt1 -]
[- txt2 -]
*1+2
[- txt1 ; txt2 -]
[- txt1 ; txt2 -]
----> txt3
[- txt3 -]
*4
[- txt4 -]
*5
[- txt5 -]
*6
[- txt6 -]
*7
[- txt7 -]
*8
[- txt8 -]