Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 wandering the Monastery: (4)
As of 2024-09-08 05:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.