in reply to Re^9: Informal Poll: Traits (Long Post Warning!)
in thread Informal Poll: why aren't you using traits?
From a look at the documentation, Class::LazyLoad doesn't seem to support classes that implement cheap operations but can become the full fledged object on demand. Which is what Object::Realize::Later does. There are ways around this that don't need reblessing into the full class I guess, like aggregation/creation of a new instance, but reblessing is the easy/safe way. This is discussed in the Traps section of the documentation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: Informal Poll: Traits (Long Post Warning!)
by dragonchild (Archbishop) on Apr 18, 2006 at 14:07 UTC |