Path: utzoo!attcan!uunet!timbuk!cs.umn.edu!msi.umn.edu!src.honeywell.com!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: GNU Emacs debugger for Perl PL36 Message-ID: <10282@jpl-devvax.JPL.NASA.GOV> Date: 8 Nov 90 01:34:06 GMT References: <1990Nov7.154443.1121@uvaarpa.Virginia.EDU> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 20 In article <1990Nov7.154443.1121@uvaarpa.Virginia.EDU> worley@compass.uucp writes: : That's a neat hack! : : X-Name: Ray Lischner : : If you don't like to change the standard perldb.pl, it is relatively : simple to copy the DB subroutine and two extra lines to your own : .perldb file. : : Might it be possible to use a switch or something (like GDB does) so : that perldb can tell whether it's running under Emacs or not? This is undocumented, but at pl36 you can do this, or its equivalent: setenv PERLDB 'require "myperldb.pl"' I haven't decided if that's the best way to handle it yet, so consider it quasi-pre-deprecated. Larry