sk - I agree, it depends on what handle_request actually does. I just figured that it doesn't deal with the interruption gracefully; mainly because on my first attempt to run the code my handle_request looked like this:
Which looked like it was doing what the OP is having trouble with.sub handle_request { sleep 13; return 1; }
In reply to Re^4: Controlling a Perl Daemon with Signals
by jch341277
in thread Controlling a Perl Daemon with Signals
by eastcoastcoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |