Following are two Perl snippets that cause syntax highlighting to get wacky.
This first one causes everything that comes after for the remainder of the file to be colored as a string:
message(<<EOF) if $TT_PREFIX; EOF
And with this one, as well as the one above, anything after the first here-doc delimiter is colored as a string:
$sql .= <<SQL if $type eq 'com'; SQL
Regards,
Michael Irwin