These lines seem out of place:
use DBI; use LWP::Simple;
Documentation should be POD (perlpod).
Your accessor/mutator pattern is repeated. This is something a nice little framework could help with. See Tiny Frameworks or go all out with Moose.
It's nice to use signal names rather than numbers with kill.
In your log messages, it would be useful to include $$ (and use English, so you can say $PID instead of $$).
Instead of forcing me to subclass, allow me to pass in a code reference for run().
It'd be nice if I could tell it I don't want it to send email rather than forcing it to die by giving some bogus email address.
If you're doing logging, you might consider Log::Log4perl.
I've used Proc::Daemon for this before.
In reply to Re: Demonize Module, What are your thoughts?
by kyle
in thread Demonize Module, What are your thoughts?
by halfbaked
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |