On Sat, 8 Jun 2013, Caleb Cushing wrote:
a while back I wrote a piece of code that was basically a generic
equals method for objects. I'm wondering if I patched moose to give
objects this functionality if it'd be accepted?
basically it was something like
refaddr ==
blessed?
isa?
...
and a few more checks, the external interface was
1 classes are equivalent
0 classes are definitely not equivalent
undef superclass/unmodifed method says it's not equivalent but it
still could be determined to be equal by a subclass.
I'm confused. Do you mean classes or objects. Presumably objects, right?
Is there any reason this can't start life as a MooseX?
-dave
/*============================================================
http://VegGuide.org http://blog.urth.org
Your guide to all that's veg House Absolute(ly Pointless)
============================================================*/