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


in reply to Re: .vimrc for perl programmers
in thread .vimrc for perl programmers

Possibly overkill for your needs, but I have to say that since I've found the NERDCommenter plugin I've not bothered with anything else for commenting. Does comment / uncomment / toggle comment / add end-of-line comment etc, and does it for lots of different filetypes as well. Worth a look if you have time/inclination.