The following patch is necessary for the perl debugger to run under
emacs on a win32 machine. The "or defined $ENV{EMACS}" is necessary
for the debugger to run under emacs shell-mode as well.
p5p-msgid:
199707311759.NAA13276@crooked-i.mitre.org
$console = "sys\$command";
}
+ if (($^O eq 'MSWin32') and ($emacs or defined $ENV{EMACS})) {
+ $console = undef;
+ }
+
# Around a bug:
if (defined $ENV{OS2_SHELL} and ($emacs or $ENV{WINDOWID})) { # In OS/2
$console = undef;