File: heredoc.htm

package info (click to toggle)
libembperl-perl 2.2.0-1.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,188 kB
  • ctags: 2,792
  • sloc: ansic: 21,114; perl: 11,577; cpp: 467; makefile: 97; xml: 49; sh: 14
file content (13 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
[-
sub error_check {
        $error = <<END if ($units == 0);
To Create a duplicate entry you must first fill in the units field.
END
        }

-]
<HTML>
HELLO
[- error_check -]
[+ $error +]
</HTML>