in reply to POSIX and sigaction

I've finally vowed never to use a native Perl signal handler for anything. I now put something like Event in those programs that need to catch signals. Of course, you've got to be comfortable with turning your program into an event-driven loop to use it, but once you do, no more problems with signals!

-- Randal L. Schwartz, Perl hacker