On Tue, 23 Dec 2003, Marco Marongiu wrote:
> [... much snipped..]
>
> The impression I get from the DateTime::Event::Recurrence is that even
> if you need to accomplish a simple task, you have to learn a lot about
> the DateTime framework, which is the exact contrary of the Perl
> philosophy as a whole: it is stated somewhere (the Camel Book? The Llama
> book?) that you can learn a few Perl to begin to make something useful
> with it.
>
> My impression could well be wrong. But, in that case, there is something
> wrong also in how the DateTime modules are explained and documented.

>From re-implementing your module using DateTime::Event::Recurrence I would
say that your impression is wrong. It took me very little time, and I did
it mostly by cut-n-pasting the examples in Date::Time and
DateTime::Event::Recurrence.

About the module, I would call it Date::Calc::DayIterator: it is really
linked to Date::Calc, plus that would help user determine quickly to which
"family" of Date modules it belongs. If you really don't want to use the
Date::Calc namespace, then Date::DayIterator is more precise than
Date::Iterator (I would use a Date::MonthIterator if I did not know (now
;--) how to do it with DateTime::Event::Recurrence!).

--
Michel Rodriguez
Perl & XML
http://www.xmltwig.com



Reply via email to