.. or maybe "DateTime::Event::Base" Dave wrote: > I think the problem is that this (AFAICT) forces > all events to be dealt with as sets internally, > which may not be what many module authors want > to do.
No, that's not the idea. What I propose is a common API. If the module author wants to use the base implementation, he can. Otherwise, he is free to rewrite it. That is, instead of: $event1->next_christmas($dt) $event2->next_new_year($dt) it would be: $christmas->next($dt) $new_year->next($dt) such that 'next' is a common object method, and I could pass $christmas or $new_year to a generic subroutine that collects events, for example. - Flavio S. Glock
