in reply to Date Operations

Consider using the Date::Calc module; it's incredible for such tasks.

If you're looking to add "$offset" days to your current date, you could use something like this:
use Date::Calc qw(Add_Delta_Days); ($year, $month, $day) = Add_Delta_Days($old_year, $old_month, $old_day +, $offset);
This will return the new year, month, and day after adding the offset ($offset). Once you have those values, I think you can take it from there. Look up the documentation for this module. There are so many more features available and it will save you a ton of time and headaches!

Hope this helps, Eric