On Tue, 5 Aug 2003, Andy Ford wrote: > I am testing out signal (I nearly wrote single - and I'm married) > trapping so I can use it in a number of scrits all ready in service. > > The basic concept seems relatively straight forward, however my SIGHUP > only seems to work once... > > $SIG{'HUP'} = \&catch_signal; # best strategy > > sub catch_signal > { > etc > etc > } > > This should be a simple one
You might need to reset the signal handler in your routine. Different unixen do this differently. S. -- Shevek http://www.anarres.org/ I am the Borg. http://www.gothnicity.org/