As you note signals in Perl are dangerous. I use them all the time and they do cause the occasional seg fault. I mostly use them for clean exit handling as in the above case where it is a hell of a lot better than just crunching a process with kill -9. Your worst case is a kill -9 and the best case is a controlled exit.
cheers
tachyon
In reply to Re^2: shutdown gracefully - kill signal trap
by tachyon
in thread shutdown gracefully - kill signal trap
by SiLiK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |