File: sub.htm

package info (click to toggle)
libhtml-embperl-perl 1.3.6-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,596 kB
  • ctags: 1,190
  • sloc: ansic: 8,985; perl: 4,584; makefile: 83
file content (28 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (15)
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

<html>
<head>
<title>Define a SUbroutine within Embperl</title>
</head>

<body>


Here we define a subroutine<P>

NOTE: It must be defined within [! ... !] to avoid redefinition!

Now we call the subroutine: Hello world <P>

$XXXXXX::var =  <br>

Setup some variable outside our namespace, which should not be cleaned up<br>

$XXXXXX::var = 1 <br>


<P>Ok.<P>


</body>
</html>