Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 cooling their heels in the Monastery: (6)
As of 2024-04-24 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found