in reply to Emacs CPerl mode - confused?

syntax highlighters aren't perfect

Maybe you need an update

http://www.emacswiki.org/emacs/CPerlMode / https://github.com/jrockway/cperl-mode / cperl-mode.el