|
|
| more useful options | |
| PerlMonks |
Re^8: Informal Poll: Traits (Long Post Warning!)by Corion (Patriarch) |
| on Nov 20, 2005 at 14:07 UTC ( [id://510271]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
When you have a generic proxy object like Object::Realize::Later, which more or less implements lazyness for method calls, it is quite convenient to have the object change class after it has been realized. Otherwise, lots of (brain-dead, I admit) checks fail when they ask UNIVERSAL::isa($obj,'foo');. Of course one could circumvent this problem with multiple inheritance or by writing a specialized ::Proxy class for every class to be lazy ...
In Section
Meditations
|
|
||||||||||||||||||||||||||||||||||