in reply to syntax check with Vim

This is what I use: Put this into ~/.vim/ftplugin/perl.vim:

setlocal makeprg=perl\ -c\ %

Then open your Perl file and type ":make".