qq has asked for the wisdom of the Perl Monks concerning the following question:

I've got several daemons (using Proc::Daemon) that scrape web pages and insert the info into a mysql database.

If a daemon gets killed (which they do a lot while testing) do I need to explicity close the mysql connection in a signal handler? Is there any other cleanup I should be thinking about?

I'd appreciate pointers to good reading material on daemons. I've read the Camel material, and I've picked up pieces here and there. But they tend to focus just on how simple they are. Are they?

Thank you, qq