Dosn't DateTime::Set and DateTime::SpanSet already address this problem-space, but in a more flexible way?
http://search.cpan.org/~fglock/DateTime-Set-0.14/lib/DateTime/Set.pm It allows "span sets" to be non-contiguous, such a set of meetings occurring every Wednesday. It also returns DateTime objects, giving you all the flexibility of formatting and features that a such an object implies. I'd be interesting in hearing a bit more about cases where this new module would be a better choice. Mark -- http://mark.stosberg.com/