Previous: Version control, Up: Developing with Emacs

10.4 How do I use the Perl debugger with Emacs?

From Jay Rogers:

Some versions of the perl debugger itself need to be patched to work with emacs. They are perl versions 5.001 and less, and version 5.004_01. To fix, locate and change the code similar to the following code in lib/

             if (-e "/dev/tty") {
                 $console = "/dev/tty";
             elsif (-e "con") {
                 $console = "";                 <---- change "con" to ""
             else {
                 $console = "sys\$command";

Doug Campbell also has some suggestions for improving the interaction of perldb and Emacs.