summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/heredoc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/nxhtml/tests/in/heredoc.pl')
-rw-r--r--emacs.d/nxhtml/tests/in/heredoc.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs.d/nxhtml/tests/in/heredoc.pl b/emacs.d/nxhtml/tests/in/heredoc.pl
new file mode 100644
index 0000000..8620357
--- /dev/null
+++ b/emacs.d/nxhtml/tests/in/heredoc.pl
@@ -0,0 +1,11 @@
+$text = 'Text from a Perl string.';
+print <<HTML;
+<html>
+<head>
+<title>Here-Doc Example</title>
+</head>
+<body>
+<h1>Here-Doc Example</h1>
+<p>$text</p>
+</body>
+HTML