On Tue, Jan 16, 2007 at 14:18:27 -0600, Matthew
<[EMAIL PROTECTED]> wrote:

>   Does anyone have, already made, some type of "recurring events" 
> module? We have our in-house function that works with singular weekly 
> and singular monthly events but we'd like to branch into daily, 
> bi-daily, bi-weekly, bi-monthly, every X weeks, every X days, etc.

It isn't a Perl solution, but have you looked at remind?
http://www.roaringpenguin.com/penguin/openSourceProducts/remind
http://wiki.43folders.com/index.php/Remind

> [snip]
>   To me, this seems amazingly inefficient. If my weekly recurring 
> original event start date was Aug 1, 2006, the perl would have to loop 
> 26 times to find the next event (in this case, Jan 23).

Can you maintain a "last occurrence" datum along with the start date?

Paul.

-- 
Paul Hoffman <[EMAIL PROTECTED]>

Reply via email to