It's generally not a good idea to run long, complex stuff from a signal handler (even with Perl's "safe signals"). Best is to just set some flag in the signal handler that you check and act upon in the main loop.
In reply to Re: Handling DB operations in signal handler
by almut
in thread Handling DB operations in signal handler
by ajeet@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |