On Sat, Dec 13, 2003 at 03:43:00PM -0800, Paul Hodges wrote: : Amen, brutha. Accordingly, do we have an idea what it actually means to : add a type to something? I mean, I get that we could say : : print "yup" if $Spot ~~ AttackDog; : : but is there still : : print ref $Spot; : : and if so what does it print???
It still prints Dog. The current composition of the Dog class for this object is largely anonymous. If it has a name, it's something like %Dog::__COMPOSITION__{AttackDog & Pet}. But every dog thinks its a Dog. Larry