|Think about Loose Coupling|
A question to iterator in Datetime::Event::Recurrenceby vagabonding electron (Chaplain)
|on Apr 11, 2012 at 09:31 UTC||Need Help??|
vagabonding electron has asked for the
wisdom of the Perl Monks concerning the following question:
I try to iterate over the generated set of datetimes in the following way:
What I need however is to generate only the hours between 07:00:00 and 22:00 :00.
but this brings an error message "invalid argument 'hours' " - apparently one can use only the next low time step since it works with minutes=>[10, 30] for example.
I have not much experience with Datetime modules yet.
Please give me a hint.
Thanks in advance.