in reply to Re: How to get last month date using Date::Calc (caution advised)
in thread How to get last month date using Date::Calc

The docs for Time::Piece explain it thus (emphasis mine):

The months and years can be negative for subtractions. Note that there is some "strange" behaviour when adding and subtracting months at the ends of months. Generally when the resulting month is shorter than the starting month then the number of overlap days is added. For example subtracting a month from 2008-03-31 will not result in 2008-02-31 as this is an impossible date. Instead you will get 2008-03-02. This appears to be consistent with other date manipulation tools.
  • Comment on Re^2: How to get last month date using Date::Calc (caution advised)

Replies are listed 'Best First'.
Re^3: How to get last month date using Date::Calc (caution advised)
by Anonymous Monk on Oct 12, 2018 at 20:59 UTC
    An odd thing to say, since it isn't consistent with DateTime, Time::Moment, or (apparently) Date::Calc.