http://qs321.pair.com?node_id=329708


in reply to making perl interactive with VI

You might also want to look into perl's command line switches so you can do one-liner stuff inside vi like...
:1,17! perl -pe 'tr/A-Z/a-z/'