http://qs1969.pair.com?node_id=246221


in reply to Re: Using vim for highlighting in Perl
in thread Using vim for highlighting in Perl

The default perl syntax highlighting does break on some things, but it does allow the regex delimiters (!/# etc) you mention (vim 6.1.422, $VIMRUNTIME/syntax/perl.vim 30 Dec 2002). qq!! does not highlight correctly, but qq##, qq() etc do.

I have emailed the maintainer a patch to handle the ! delimiter in q, qq, qw, qr expressions.

You can download the latest syntax files from ftp://ftp.vim.org, or http://www.van-laarhoven.org/vim/syntax/perl.vim for the perl syntax specifically.