This is what I use: Put this into ~/.vim/ftplugin/perl.vim:
setlocal makeprg=perl\ -c\ %
Then open your Perl file and type ":make".
In reply to Re: syntax check with Vim
by betterworld
in thread syntax check with Vim
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |