Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Controlling a Perl Daemon with Signals

by jch341277 (Sexton)
on Aug 08, 2005 at 14:44 UTC ( [id://481901]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Controlling a Perl Daemon with Signals
in thread Controlling a Perl Daemon with Signals

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:

sub handle_request { sleep 13; return 1; }
Which looked like it was doing what the OP is having trouble with.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://481901]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2025-06-17 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.