http://qs321.pair.com?node_id=11123525


in reply to Re^5: How does Math::GMP overload the assignment operator ?
in thread How does Math::GMP overload the assignment operator ?

The real solution to this is to make your objects immutable

That (along with the elaboration you've provided) seems to be describing exactly what Math::GMP does.
And yet Math::GMP also sets that very same troublesome trap wrt overloading '=' that I find disconcerting.
So, I'm left wondering just what it is that this "solution" solves.

I'll point out that I don't mean that last sentence to sound as smartarsey as it does. Deep down I know the problem is that I'm being dense.

Cheers,
Rob