SIGNAL may be either a signal name (a string) or a signal number. A signal name may start with a SIG prefix, thus FOO and SIGFOO refer to the same signal. The string form of SIGNAL is recommended for portability because the same signal may have different numbers in different operating systems.
Is it worth using the name of the signal (as a string) throughout your code?
p.s. there was a question here some months ago about how resizing a terminal would crash some perl application. But I can't seem to find it.
EDIT: the link is this: Re: need help golfing down/making a backtrace for panic: free from wrong pool, … during global destruction. , and refers to a perl application crashing when terminal hosting it resizes.
In reply to Re: application crash during WINCH Signal
by bliako
in thread application crash during WINCH Signal
by hanspr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |