Hi Lorenzo, On Wed, 9 May 2012 11:19:30 -0500 Lorenzo Thurman <lore...@thethurmans.com> wrote:
> I'd like to write a perl daemon that runs every hour. I've found Proc::Daemon > and Timer::HiRes, but I'm not sure how to put the pieces together. In > particular, I'd like to know how to have a given sub routine called when the > timer expires. I don't need precision with the timer. Any ideas would be > greatly appreciated. > Perhaps you should look at POE, IO::Async, IO::Lambda, Reflex, or AnyEvent for a way to handle an event roughly every hour using an event loop. See http://metacpan.org/ for more information. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Interview with Ben Collins-Sussman - http://shlom.in/sussman The more I think about it, the more I think I should think about it some more. — Clarissa Explains it All Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/