Skip to content

Instantly share code, notes, and snippets.

@petdance
Last active March 14, 2017 16:29
Show Gist options
  • Save petdance/3c500d913d059ee16437c11a07d6fb6d to your computer and use it in GitHub Desktop.
Save petdance/3c500d913d059ee16437c11a07d6fb6d to your computer and use it in GitHub Desktop.
SQL breaks Perl highlighting
#!/var/perl/bin/perl
my $sql =<<'SQL';
insert into foo values (
-- Add any letter to any of the four words below and the Perl highlighting breaks.
create,
update,
select,
insert,
)
SQL
my @x = (
['missing', 0, {%x, ':x' => undef}],
['missing', 0, {%x, ':y' => undef}],
['missing', 0, {%x, ':z' => undef}],
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment