Reinhold May wrote:
>
> After I had sent the last mail, I disovered that my bigger
> application using 'DateTime' seems to just calculate and not
> return anymore as well without using any of the new functions,
> so I guess, I messed up the installation of the packages from
> CVS.
>
> The only new files I downloaded form CVS are:
> - Set.pm
> - Span.pm
> - SpanSet.pm
> - _recurrence.pm
>
> I've probably forgotten some, I'll check later.
That's because of a change that happended in DT::Set 0.1402.
You will have to upgrade DateTime::Event::Recurrence:
DateTime::Event::Recurrence - Changes
> 0.10 2004-03-17
> 0.0901 2004-03-09
> - the recurrence functions accept infinite DateTimes, as required
> by DT::Set 0.1402
>
DateTime::Set - Changes
> 0.1402 2004-03-08
> - Recurrence functions can be used to generate bounded sets.
> See: t/16bounded_recurrence.t
>
> - There is no limit on how small a recurrence can be.
> Recurrences as small as 1 nanosecond are possible.
>
> [ *** BACKWARDS INCOMPATIBILITIES *** ]
>
> All modules that create their own recurrences
> must now be able to respond to DateTime::Infinite::Future
> and DateTime::Infinite::Past parameters. The easiest way
> to do this is to add this to the first line of the recurrence
> subroutines:
>
> next => sub {
> return $_[0] if $_[0]->is_infinite;
> ...
> }
> previous => sub {
> return $_[0] if $_[0]->is_infinite;
> ...
> }
>
I'm still trying to make DT::Set backwards compatible...
- Flavio S. Glock