After compilation of perl script I get syntax error in compilation window. If I try to use Goto Error Command, it not working and show error message:
Wrong type argument: listp, "^\\s-*\\(at \\(.*\\):\\([0-9]+\\)\)"
I use cperl 6.2 and xemacs 21.5.34.
CPerl's "Check syntax" menu item relies on something called
mode-compile. If you don't have that installed it won't work. I've never usedmode-compile, and can't offer much help there.If you're going to be installing another package for syntax checking anyway, and assuming you're using GNU Emacs 24 or later, I suggest using the excellent Flycheck instead. Flycheck supports syntax checking for Perl as well as a huge number of other languages. In addition to regular syntax checking using the
perlbinary, Flycheck also supports syntax checking usingPerl::Critic.Flycheck is available via MELPA and MELPA stable. Once it is installed, add
to your configuration to enable Flycheck globally. If you've got
perlon your path you should start getting syntax checking.