more useful options | |
PerlMonks |
Re^5: Class::Interface -- isa() Considered Harmfulby adrianh (Chancellor) |
on Jan 19, 2003 at 21:58 UTC ( [id://228242]=note: print w/replies, xml ) | Need Help?? |
A Car object contains for Wheel objects. I have code that wants to find the circumference of all Wheels in my universe, calling get_circumference() to do so. ... If Car is marked as having the same fingerprint as Wheel, it will work. But a car has four wheels? Surely $wheel->get_circumference and $car->get_circumference can't be doing the same thing so they don't have the same "fingerprint"?
In Section
Meditations
|
|