Debian Codegraph @

test/cmp/sub.htm

raw
1
2 <html>
3 <head>
4 <title>Define a SUbroutine within Embperl</title>
5 </head>
6
7 <body>
8
9
10 Here we define a subroutine<P>
11
12 NOTE: It must be defined within [! ... !] to avoid redefinition!
13
14 Now we call the subroutine: Hello world <P>
15
16 $XXXXXX::var = <br>
17
18 Setup some variable outside our namespace, which should not be cleaned up<br>
19
20 $XXXXXX::var = 1 <br>
21
22
23 <P>Ok.<P>
24
25
26 </body>
27 </html>
28