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


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

It's not immutable. It provides an add_ui_gmp method that mutates the object. If it was actually immutable, there wouldn't be any trap because it wouldn't really matter if you cloned objects or not when using them in multiple places.