Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!convex!newsadm From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.lang.perl Subject: Re: Signal handling in Perl Message-ID: <1991Apr15.211051.3326@convex.com> Date: 15 Apr 91 21:10:51 GMT References: <1991Apr15.141316.46228@vaxb.acs.unt.edu> Sender: newsadm@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 14 Nntp-Posting-Host: pixel.convex.com From the keyboard of billy@vaxb.acs.unt.edu: :I'm having a problem with signals in Perl. In my program, I've put statements :like: : : $sig{'INT'}='IGNORE'; : :However, it seems that it has no effect (i.e. I can still interrupt the :program). I've also tried setting up a signal handler and when the interrupt :occurs, the signal handler is never called. Anybody have any ideas what I'm :doing wrong? You should be using %SIG not %sig for this. Case counts. --tom