over the years I've had to do alot of repeated M-x cperl-mode whilst coding in perl scripts containing POD - as the syntax highlighting would get lost or confused part-way down the file (usually turning everything into the comment color). Just something I've dealt with and never really attempted to fix. I'm glad I'm not the only one having issues. -Will On Sat, Oct 24, 2009 at 1:12 AM, Ilya Zakharevich wrote: > On 2009-10-21, LanX wrote: > > In the following example the second line is not classified as pod but > > the keyword "for" is considered part of a loop statement. > > Since it is not POD, I do not see any problem > > > -------------------------- > > lanx@nc10-ubuntu:~/tmp$ cat perlpod.pm > > for (1..9) {print} > >=for comment > > > It seems that loading another cperl-mode version causes conflicts with > > the bundled version! > > This may happen if the buggy version is preloaded... [I do not see > any problem with my version, both with emacs v19 and v21.] > > > So effectively one has to stick with the bundled version ... :( > > One may try to remove the buggy version from preloaded stuff (do not > remember how). > > Yours, > Ilya >