in reply to Re: Which text editor
in thread Which text editor

Also:
set makeprg=perl -Mstrict -wc % set errorformat=%m at %f line %l.

Now you can just type :make to check the script; Vim's quickfix (:help quickfix) will then pick up perl's error messages. Besides the handy (and very key-bindable :) ) commands to navigate error locations, you can also do a :copen to open a window on a special buffer that lets you visually navigate errors and move to their locations.

If you edit stuff other than Perl code with Vim, you should probably place these somewhere that only sets them for Perl code files. :help ftplugin-override

Makeshifts last the longest.