Re: [perl #127339] problem using Duration

2016-08-07 Thread mt1957
On 08/06/2016 05:39 AM, Zoffix Znet via RT wrote: Then the question remains why the multiplication results in Num if it multiplies with an integer It's merely a matter that such things require addition of three extra operators per operation (e.g. Duration * Duration, Duration * Num, Num * Dura

Re: [perl #127339] problem using Duration

2016-01-22 Thread mt1957
On 01/22/2016 01:52 PM, Sam S. via RT wrote: This is the root of the problem: ➜ say ($d + 2).WHAT; (Duration) ➜ say ($d * 2).WHAT' (Num) The behavior of += and *= is just a consequence of that. Then the question remains why the multiplication results in Num if it multiplies wi