File: heredoc.htm

package info (click to toggle)
libhtml-embperl-perl 1.3.6-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,524 kB
  • ctags: 1,182
  • sloc: ansic: 8,983; perl: 4,555; makefile: 83
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>