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


in reply to Private Utilities

Here is a dirt simple one that just loads up the source of a perl module in vi. It is a shell script, but if you really wanted to, could be re-written in perl...

#!/bin/sh DOC=`perldoc -l $1` if [ -n "$DOC" ] && [ -f "$DOC" ]; then vim $DOC fi

I got tired of writing vi `perldoc -l <module-name>`, and thought pvi <module-name> saved me some key strokes.

Cheers, Cees