in reply to Re^4: Who am I? Inheritance question
in thread Who am I? Inheritance question
Respond better how? If I've an object blessed into Ye::Olde::Proxy and it provides all the interface of Real::Deal, what can it do to inform blessed() that it should return Real::Deal instead of Ye::Olde::Proxy? Ye::Olde::Proxy would be too accurate since the proxy object wants to appear to everyone except itself to be a Real::Deal object. With ref(), it can install its own function into CORE::ref that knows how to lie properly. Is the idea that it's easier to get a lying blessed() function than it is to override CORE::ref()?
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Who am I? Inheritance question
by dragonchild (Archbishop) on Mar 17, 2006 at 12:23 UTC | |
by diotalevi (Canon) on Mar 17, 2006 at 14:16 UTC |