in reply to Re^2: When to use sigtrap, when to assign to %SIG?
in thread When to use sigtrap, when to assign to %SIG?

Is using local $SIG... important?
Sometimes it is. Usually, it doesn't matter as you want the same handler for the entire run of your program. Most of the time though, it doesn't hurt to have it localized.

As a rule of thumb, I always localize my sig handlers, unless there's a good reason not to.

  • Comment on Re^3: When to use sigtrap, when to assign to %SIG?