On Wednesday 17 May 2006 12:59, David Landgren wrote: > It turns out that the heart of the matter is "Test::MockObject", which > cannot be made to work correctly if classes overload their own "isa" > functions.
Exactly backwards. Test::MockObject and Test::MockObject::Extends both overload isa() and can. Stupid, buggy, short-sighted, and wrong code that calls UNIVERSAL::isa() and UNIVERSAL::can() as functions breaks it. Calling sv_derived_from() in XS code and expecting it to work on Perl objects is likewise wrong-headed. -- c