Hello,
You may want to look at the DateTime module. More to the point it's DateTime::Span package.
There are also good docs here http://datetime.perl.org.
Update: Here is the section of the faq your looking for:
6.10: How can I iterate through a range of dates?
In reply to Re: List of dates between two dates
by rlb3
in thread List of dates between two dates
by PugSA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |