Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.jpl.nasa.gov (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: caller doesn't work in signal handler Message-ID: <1991Apr12.064932.3078@jpl-devvax.jpl.nasa.gov> Date: 12 Apr 91 06:49:32 GMT References: <1991Apr10.233240.29339@uvaarpa.Virginia.EDU> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 17 In article <1991Apr10.233240.29339@uvaarpa.Virginia.EDU> worley@compass.com writes: : I was hoping to use the interval timer to do some crude profiling of : my Perl program, but I discovered that the call forced by a signal : does not set whatever it is that 'caller' reads. Can this be fixed? It has already been fixed, and will be in the patch that is coming out tomorrow (Friday). Along with that is a patch to let you die in a signal handler and trap it with an eval reasonably. Configure has been extensively reworked to automate most of the hints that were in the README file, and to pay better attention to what was in your previous config.sh. Several other unofficial patches are being made official. Some of the labels in eval.c have been relocated to alleviate the problems with branch addressing. There is now a mechanism for modifying the CFLAGS for just some of the files, though none of the hint files make use of that yet. Larry