in reply to vim and perl

I have used vim/gvim for a long time. I doubt that you can achieve the level of integration that emacs provides (e.g., stepping you through the source code in sync with the state of the debugger (running the debugger in one window, and the source code in another)).

From perldoc perldebug :

(Historically, a similar setup for interacting with vi and the X11 window system had also been available, but at the time of this writing, no debugger support for vi currently exists.)

Tom Christiansen's .exrc file is available in Unix Power Tools, on page 570-572, snippet 31.09. Source code for the book is available here, and the file you want from in there is "upt2/exrc". But it does not do what you want, I think.

There is a Perl interface in vim/gvim (go help, search for perl, then follow the documentation pointers), but it accomplishes a different thing: it provides for Perl access to vim editing functions, basically.

My advice for you would be to go for emacs with the viper (vi emulation) package (I use this all time, and it works great).

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com