[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
perl mode fooled by <<EOF and quoting mixture
From: |
Dan Jacobson |
Subject: |
perl mode fooled by <<EOF and quoting mixture |
Date: |
Thu, 24 Jul 2003 12:04:37 +0800 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
In perl mode, starting after "strict.dtd", everything is seen in quoted
text color till the end of the file:
print <<EOF;
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"><HTML><TITLE>$name\'s site map</TITLE>
</HEAD><BODY><H1>$name\'s site map</H1><P><A href="$url">$url</A> as of
EOF
system "date"; print '</P><HR><PRE>';
my $p = HTML::HeadParser->new; my $d;
...
- perl mode fooled by <<EOF and quoting mixture,
Dan Jacobson <=