[Dancer-users] do something after sending response

al calyx238 at gmail.com
Fri Aug 12 04:50:06 CEST 2011


I thought about this the other day. I like the forking technique, but I
suggest that if you install a signal handler in the main Dancer process upon
startup, it should automatically reap any dead children and then you can
fork to your hearts content without worrying about zombies.

$SIG{CHLD} = sub { wait(); }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110812/8401fc49/attachment.htm>


More information about the Dancer-users mailing list