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


in reply to c-perl mode on Emacs

I don't use emacs, but I can google :)
http://www.emacswiki.org/cgi-bin/wiki/PerlMode
If you are having problems because lone apostrophes () confuse Perl mode, add a # at the end of the offending line. That helps a lot.