http://www.perlmonks.org?node_id=44814


in reply to On Parsing Perl

I use the perl mode on emacs, and resort to small tricks to keep everything ok. For example,
s/'"/;
upsets the syntax colorization badly (as emacs thinks following code is in the string), so I use idioms like
s/'"/; #"'
to "close" my "open" strings....