in reply to Re: Perl Best Practices PerlTidyin thread Perl Best Practices PerlTidy
... and the following will cause vim to autoformat the current buffer with perltidy when you hit F4. To be put in your .vimrc
map <F4> !perltidy -q<CR> [download]