http://www.perlmonks.org?node_id=258546


in reply to Vim for Perl developers

Great post! Quick note: in order to make your Perldoc tip work, I needed to add <cword> as below:
autocmd BufNewFile,BufRead *.p? map <F1> :Perldoc <cword><CR> +++++++