in reply to Integrating Perldoc With Vim

I have something more complicated which outputs to a split window (I like having the output in Vim rather than just piped to less or more in a shell window). I don't know if mine could be simplified, but it does work on Windows...your's does not :-(