" Run perl -c on file for the current buffer nnoremap pc :exe "!perl -c " . shellescape(expand("%")) " Run perlcritic on the file for the current buffer nnoremap pl :exe "!perlcritic " . shellescape(expand("%")) " Run the current buffer through perltidy nnoremap pt :%!perltidy